What is HTTP module and HTTP handler in ASP.NET?
What is HTTP module in ASP.NET?
It enables you to configure the HTTP modules used within your application. This tag supports the [html]
What is HTTP handler in ASP.NET?
It is a type that runs in response to a request made to an ASP.NET application. A request can be for any type of ASP.NET resource but it is the HTTP handler that generates the response. HTTP Handler is used to map incoming requests to the appropriate [html]IHttpHandler[/html] or [html]IhttpHandlerFactory[/html] class. This is done based on the URL requested and the verb used to request it.
One of the most common handlers is the page handler that runs in response to a request made for an [html].aspx[/html] page. Another handler is a web service handler that runs in response to a request for a [html].asmx[/html] web service. Generic web handler ([html].ashx[/html]) is the default web handler and it is usually used when we create a custom web handler.