Tuesday, October 14, 2008

ASP.NET: My understading!

Http Module: Http Module is class which implements IHttpModule interface. It takes part into Web Request processing pipeline. During process request passes through difference events of Http Application run time object. Http Module can intercept and take part into this event by registering required events. Run time infrastructure proves chance to register events when request is initialized. In ASP.NET there are build in Http Module which takes part into normal request processing.

Http Handler: Http Handler is class which implements IHttpHandler interface and optionally IRequereSessionState interface if Session State is required in handler. It enables ASP.NET infrastructure to process individual URL or group of URLs extensions within ASP.NET application. There is one to one mapping between extension(s) and Http Handler.

HTTP Pipeline: Picture tells thousand concepts






No comments: