HTTP Handlers vs HTTP Modules

Question posted in Computer Software on 11 2009
Rate question difficulty level 0 Votes
What are the differences between  HTTP Handlers and HTTP Modules
and usages ?
 
 
2 Answers
 

HttpHandler help us to inject pre-processing logic based on the extension of the file name requested. So when a page is requested, HttpHandler executes on the base of extension file names and on the base of verbs. For instance, if we have different handlers mapped to file extension. We can also map one handler to multiple file extensions. For instance, when any client requests for file with extension ‘GIF’ and ‘JPEG’, handler3 pre-processing logic executes.

HttpModule is an event based methodology to inject pre-processing logic before any resource is requested. When any client sends a request for a resource, the request pipeline emits a lot of events


Modules are called before and after the handler executes. Modules enable developers to intercept, participate in, or modify each individual request.
Handlers are used to process individual endpoint requests. Handlers enable the ASP.NET Framework to process individual HTTP URLs or groups of URL extensions within an application. Unlike modules, only one handler is used to process a request”.

credits : http://www.codeproject.com/KB/aspnet/HttpModuleandHttpHandle.aspx


11/23/2009
 
 
Madison square underground 34 street subway station is a transportation hub, Louboutin UK and many people would have to change there, links several state railway system in here or terminal. In those days, a seal on the subway station, and I can only hiking in the fifth avenue. The police a lot,GHD Hair even the roof stood full uniform personage. Road also seal up, only the sidewalk filled with the crowd. Then, it was difficult to imagine,Louboutin like all large entertainment places, all policemen look relaxed, and the way people talk about smile.GHD Hair Straighteners That night, fifth avenue bright as the day, protective guard, line, the riot police make the whole scene looks like a war zone. Bush speech, the protesters started to atone tried to impact cordon. I heard the police said: the elder brothers, we also is to eat a meal,Christian Louboutin UK don't and we difficult line? Part of the protesters started to go back.

11/10/2012
 
 
Add an answer*
 
Your name
Email
 
Location: United States
c# asp.net

add a question

arrow_blue


Now hiring!