| |
GeekInterview.com > Tech FAQs > Programming > ASP.NET
| Print | |
Question: App_code folder in ASP.NET 2.0
Answer: What is the purpose of App_code folder in ASP.NET 2.0? |
| July 07, 2008 13:33:54 |
#2 |
| raghulvarma |
Member Since: December 2007 Total Comments: 7 |
RE: App_code folder in ASP.NET 2.0 |
| App_Code directory is very useful in that it can be used to store all the reusable classes that you want to use from your ASP.NET pages. To utilize the App_Code directory, all you need to do is to create those reusable classes and place them under the App_Code directory. Whenever a change occurs in the App_Code directory, ASP.NET will dynamically recompile these classes and automatically make it available to all the pages in the web site. Note that you should put only classes into the App_Code subdirectory. You should not put pages, web user controls, or other non-code files containing non-code elements into this subdirectory. |
| |
Back To Question | |