By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,016 Online
Bytes IT Community
Submit an Article
Got Smarts?
Share your bits of IT knowledge by writing an article on Bytes.

Subfolders that have specific characteristics in .Net 2005:

100+
P: 111
As in earlier versions of Visual Studio, you keep your Web pages in the root of the Web site and in subfolders, as required by your application. However, your Visual Web Developer Web site can contain the following subfolders that have specific characteristics:

1) App_Browsers folder Contains browser definition files that ASP.NET uses to identify individual browsers and determine their capabilities.

2) App_Data folder Contains Microsoft Access databases (.mdb files), XML files, and other data stored in local files. The user account that is used to run the application (for example, the local ASPNET account) has permissions to read, write, and create files in this folder. Various ASP.NET application features, such as the providers for membership and roles, as well as the Web Site Administration Tool, are configured to work with the App_Data folder specifically.

3) Bin folder Contains compiled code, as in earlier versions of Visual Studio. Any classes represented by code in the Bin folder are automatically referenced in your Web site. For more information, see Shared Code Folders in ASP.NET Web Sites.

4) App_LocalResources folder Contains .resx files that are bound to a specific page. You can define multiple .resx files for each page, each .resx file representing a different language or language/culture combination. For more information, see Localizing ASP.NET Web Pages Using Resources and How to: Create Resource Files for ASP.NET Web Sites (Visual Studio).

5) App_GlobalResource folder Like the App_LocalResources folders, but contains .resx files that are not bound to a specific page. Resource values in .resx files in the App_GlobalResource folders can be accessed programmatically from application code.

6) App_Code folder Contains source code files. The code is compiled as part of your application and is referenced automatically. The App_Code folder works much like the Bin folder, except that you can put source code in it instead of compiled code. While you are working in Visual Web Developer, the source code in the App_Code folder is compiled dynamically so that IntelliSense can reference any classes defined in the files. For more information, see Shared Code Folders in ASP.NET Web Sites.

7) App_Themes folder Contains a collection of files that define the appearance of ASP.NET Web pages and controls. For more information, see ASP.NET Themes and Skins Overview.

8) App_Browsers folder Contains .browser files that define browser capabilities.

9) App_WebReferences folder Contains files used to create a reference to a Web service (in the same project or external to the project), including .disco and .wsdl files. For more information, see How to: Add a Reference to a Visual Studio Project in a Web Site.

Visual Web Developer does not create these folders by default, except the App_Data folder. In some cases, the folders are created by utilities. For example, running the Generate Local Resource command creates the App_LocalResources folder. In other cases, you can create the folders manually.

Thanks & Regs
Bharath Reddy VasiReddy
Jul 25 '07 #1
Share this Article
Share on Google+
1 Comment


P: 4
hi
i m pradeep kumar i want to how to data sending in serial port rs232 in c# 2.0 window application
thank u
Mar 8 '08 #2