locked
HTTPHandlers,HTTPModules,Asynchronous Transactions RRS feed

  • Question

  • User423521899 posted
    Hi,
    Can anyone suggest me when to go for HTTPModules and  HTTPHandler? The examples of HTTPModules I have seen , I feel can be done with HTTPHandler also. so how to decide between HTTPModule and HTTPHandler?
       
    Regards,
    Sandip.

     

    Wednesday, January 20, 2010 4:28 AM

Answers

  • User541108374 posted

    Hi,

    HttpModules are placed in the pipeline on every call performing pre and post processing of an "endpoint". HttpHandlers on the other hand are "endpoints". If you don't call that "endpoint" you don't call the handler but another one. But by calling that other one the HttpModule in the pipeline still gets called and does it pre and post processing of that call.

    Grz, Kris.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 20, 2010 5:26 AM