
We can maintain resources (classes, images, code, databases, themes) in an organized manner, which allows us to develop and maintain sites easily. Advantages of ASP.NET Application Foldersįollowing are the main advantages of use of ASP.NET's Application Folders Let's see the advantages of using these folders. ASP.NET also provides special folders to maintain files and resources. So, what ASP.NET 2.0 does is, it uses a predefined folder structure containing the files (classes, images, resources, etc.), to compile them dynamically and we can access those files throughout the application. It is ASP.NET'stask to dynamically compile them when required. We can add as many as files and folders as we like (according to our requirements) within our solutions,and it won't be necessary to recompile them each and every time they are added. If we look at a sample application hierarchy, it will look like the following figure. If we are working with ASP.NET 2.0, we can add files and folders using the Add Items option.
That means, all class files, resource files, data files and folders are maintained in a hierarchical structure. Overview - ASP.NET Application FoldersĪSP.NET 2.0 uses a file-based approach. Please give your valuable suggestions and ideas for improvement that I can incorporate into this article, as well as my future articles. Like my other articles, I believe this will also give you very good idea on the Application Folders. However, I will be back with another article on rest of state management. After writing articles on caching and view state for beginners, I have decided to write an article for beginners on the ASP.NET Application Folders.
Advantages of ASP.NET Application Foldersįirst of all I would like to thank Sean Ewington for his article Beginner's Walk - Web Development, which gives me a great opportunity to write an article for beginners on ASP.NET web development here on CodeProject.