Questions tagged [app-data]
68 questions
168
votes
9 answers
What is the App_Data folder used for in Visual Studio?
When creating a new ASP.NET application in Visual Studio, a couple of files and folders are created automatically. One of those folders is called App_Data.
Also when publishing a website by selecting the menu option Build->Publish a checkbox is…

padn
- 1,959
- 4
- 16
- 15
33
votes
3 answers
ASP.Net - App_Data & App_Code folders?
What is the point of having App_code & App_data folders?
Why doesn't my objectDataSource detect classes unless files are in App_Code?
Please provide as much detail as you can, I'm new to ASP.Net

aryaxt
- 76,198
- 92
- 293
- 442
25
votes
8 answers
Images that are in App_Data folder not shown in browser
When I set image URL property to asp image control that is in App_Data folder, image is showing in page design view but not in browser.
11
votes
2 answers
Why are certain files not published in the App_Data folder?
I'm using Visual Studion 2008 to build and deploy a webservice project. I've added a bunch of files to the App_Data folder: some xml, some plain text and 2 pdf's. All these files are included in the .csproj file (if they are not, they will not be…

edosoft
- 17,121
- 25
- 77
- 111
9
votes
3 answers
How to install a file in app data in setup project (C#)
I want to install my database to a separate folder (@ C:\Users\User1\AppData\Roaming\Company1\database.mdb)
I'm using a C# setup project.
How can I do it?

Mike Bryant
- 2,455
- 9
- 39
- 60
7
votes
5 answers
Actix-Web reports "App data is not configured" when processing a file upload
I'm using the Actix framework to create a simple server and I've implemented a file upload using a simple HTML frontend.
use actix_web::web::Data;
use actix_web::{middleware, web, App, HttpResponse, HttpServer};
use std::cell::Cell;
// file upload…

Samuel Dressel
- 1,181
- 2
- 13
- 27
7
votes
3 answers
Visual Studio 2010 not publishing all of App_Data
I published my project with Visual Studio 2010 Ultimate SP1 and I have a bunch of files in ~/App_Data.
I don't remember if the first upload of appdata was with FTP or with WebDeploy. The problem is when I add new files to ~/App_Data and publish the…

Lord of Scripts
- 3,579
- 5
- 41
- 62
6
votes
2 answers
Facebook webforms app get app_data querystring
How do i get app_data querystring from a Facebook webforms app?
I want to be able to send some info in the querystring so i can display different home screen on my app.
The app is sittin in a page…

Boban Stojanovski
- 892
- 13
- 26
5
votes
1 answer
What is the future of App Data folder in google drive?
Im working on a game that uses google drive android api to store save games into app data folder. Now i want to migrate everything to REST api, since gdrive android api is deprecated now, but i noticed very strange statement in deprecation notice…

bkerec
- 89
- 2
5
votes
1 answer
Asp.net mvc can not work without App_Data
I'm using a custom security (no membership provider). After the user logs in ... a folder "App_Data" with ASPNETDB.MDF gets automatically created ... on my local machine. If I deploy this to a remote server, it will not work due to security…

Jalal El-Shaer
- 14,502
- 8
- 45
- 51
5
votes
1 answer
Show image stored in App_Data
I have 2 image files in my App_Data directory and I want to show them in my view like this:
@foreach (var media in Model)
{
4
votes
3 answers
Where "include files from the App_data folder" option?
According this answer, it should be option "include files from the App_data folder" when you publish ASP.NET application. But I don't see it:
Where it is?

Alexan
- 8,165
- 14
- 74
- 101
3
votes
2 answers
Is appdata shared between workers in a parallel pool?
I'm working on a complicated function that calls several subfunctions (within the same file). To pass data around, the setappdata/getappdata mechanism is used occasionally. Moreover, some subfunctions contain persistent variables (initialized once…

Dev-iL
- 23,742
- 7
- 57
- 99
3
votes
2 answers
Security of APP_Data Folder in ASP.NET
My Microsoft Access DB file is in APP_DATA folder. my server is Windows 2003 and I like to know how is the best way to protect this file.
so which one is safer ?
./wwwroot/App_data/Database.mdb
or
./db/Database.mdb

Reza
- 414
- 2
- 6
- 18
3
votes
2 answers
Can't check in .mdf/.ldf in App_Data into TFS
I am working with ASP.NET C# MVC 5.
.mdf/.ldf files in App_Data do not appear on Pending Changes in team explorer. Therefore I can't check them into TFS(visual studio online). I've tried recreating the project a few times and none worked. What might…

awonderer
- 665
- 9
- 26