ASP.net 2.0 contains a lot of secrets that, when you find it, can bring greater performance and extensibility to your program. For example, understanding the secret bottlenecks hidden in the membership and profile provider providers makes it easy to troubleshoot validation problems and make authorization operations faster.
In addition, the ASP.net HTTP pipeline blocks to avoid the necessary code to execute on each request. Not only that, the ASP.net worker process can drive its limitations and achieve higher performance. Page fragmentation in the browser-side output cache (not on the server side) can significantly reduce the download time for visitors. The user interface to download according to the requirements can make your site to give people a fast and smooth feeling.
The final content transfer network and the proper use of HTTP cache headers can make your site surprisingly fast. In this article, you'll learn about these technologies that will enable your asp.net applications to achieve higher performance, better scalability, and can be implemented on any asp.net web site, especially those that apply ASP.net 2.0 membership and profile Provider's site.
Asp. NET pipeline optimization
Many asp.net in the request pipeline default httpmodules are used to intercept each request made by the client. For example, SessionStateModule intercepts each request, resolves the corresponding session cookie, and then loads the appropriate session in HttpContext. Real-time proof that not all modules are necessary.
For example, if you do not use the membership and profile provider providers, then you do not need to formsauthentication module. If you need to use Windows validation for your users, then you don't need to windowsauthentication. These modules in the pipeline only execute some unnecessary code each time the request arrives.
The default modules are defined in the Machine.config file (located in the $WINDOWS $\microsoft.net\framework\ $VERSION $\config directory).