What is the difference between HttpHandler and HttpModule?

  • Both HttpHandler and HttpModule are core to the ASP.NET MVC framework
  • HttpHandler takes a request and responds with a response
  • HttpModule is a component that executes a specific functionality for every request, such as Security, Authentication, Logging and so on.
  • HttpHandler is associated to handle requests related to specific extensions such as RSS, Images, MIME and others.
  • a HttpModule implements the IHttpModule and HttpHandler implements the IHttpHandler. Both are registered in the web.config
  • Both HttpHandler and HttpModule are core to the ASP.NET MVC framework
  • HttpHandler takes a request and responds with a response
  • HttpModule is a component that executes a specific functionality for every request, such as Security, Authentication, Logging and so on.
  • HttpHandler is associated to handle requests related to specific extensions such as RSS, Images, MIME and others.
  • a HttpModule implements the IHttpModule and HttpHandler implements the IHttpHandler. Both are registered in the web.config
Ram
Ram

I'm a full-stack developer and a software enthusiast who likes to play around with cloud and tech stack out of curiosity. You can connect with me on Medium, Twitter or LinkedIn.

Leave a Reply

Your email address will not be published. Required fields are marked *