Click here to Skip to main content
15,881,559 members
Articles / Web Development / ASP.NET
Article

Directory Structure in Asp.Net

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
11 Oct 2013CPOL1 min read 14.3K   2   1
ASP.NET 2.0 uses a new set of predefind Directory names for special work. In general, the ASP.NET directory structure can be determined by the

This articles was originally at wiki.asp.net but has now been given a new home on CodeProject. Editing rights for this article has been set at Bronze or above, so please go in and edit and update this article to keep it fresh and relevant.

ASP.NET 2.0 uses a new set of predefind Directory names for special work. In general, the ASP.NET directory structure can be determined by the developer's preferences. But there are a few reserved directory names.

Here is the list of special directory names used by ASP.NET 2.0

  • App_Browsers is used to place browser specific defination files for the site
  • App_Code is the directory used to store the raw code.The classes in this folder are automatically compiled into one assembly which is accessible in the code in every page in the site.
  • App_Data is the default director for the datastorage or database like Acces, SQL server express etc. This directory has write permission so thatdata can be inserted in the data.
  • App_LocalResources folder contains the localized resource files for each page in the site.
  • App_GlobalResources holds the resx files for the localized resource available to every page in the site.
  • App_Themes folder is used to store the themes of the site.
  • App_WebReferences folder is used to store the discovery and WSDL files of the refrences of the web services consumed by site.
  • Bin folder is used to store the compiled assemblies of the applictaion and also the referenced assemblies which are not installed in the GAC.

 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
The ASP.NET Wiki was started by Scott Hanselman in February of 2008. The idea is that folks spend a lot of time trolling the blogs, googlinglive-searching for answers to common "How To" questions. There's piles of fantastic community-created and MSFT-created content out there, but if it's not found by a search engine and the right combination of keywords, it's often lost.

The ASP.NET Wiki articles moved to CodeProject in October 2013 and will live on, loved, protected and updated by the community.
This is a Collaborative Group

754 members

Comments and Discussions

 
QuestionSo where is this wiki? Pin
Wombaticus16-Jun-15 13:13
Wombaticus16-Jun-15 13:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.