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. It is ASP.NET'stask to dynamically compile them when required. 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. ASP.NET also provides special folders to maintain files and resources. Let's see the advantages of using these folders.
- We can maintain resources (classes, images, code, databases, themes) in an organized manner, which allows us to develop and maintain sites easily
- All files and folders are accessible through the application
- We can add as many files as required
- Files are compiled dynamically when required