2. Agenda
• Introduction
• The Problem
• Extension Based Preprocessor
• Event Based Preprocessor
• Overall Picture
• Steps to Implement
• The Final Output
4. ASP.NET Configuration
• Machine.config defines default handlers or
handler factories to manage requests
• Web.config may alter Machine.config
settings at the application level
13. Synchronous vs Asnchronous
• synchronous request, the ProcessRequest
method is executed, and any markup
produced is sent to the browser once the
entire request is processed
• BeginProcessRequest and the
EndProcessRequest
14. Virtual File Provider
• Global.asax provides hooks into the events of the ASP.NET pipeline
just like an httpModule
• Global.asax provides is the capability to add handlers to events not
available to modules, like Session_Start and Session_End.
• httpModules have over Global. asax is the ability to compile modules
into class libraries that can be used in multiple ASP.NET web sites
15. Modules vs Global.asax
• synchronous request, the ProcessRequest
method is executed, and any markup
produced is sent to the browser once the
entire request is processed
• BeginProcessRequest and the
EndProcessRequest