IHttpHandler vs IHttpModule

后端 未结 5 1354
一整个雨季
一整个雨季 2020-12-07 09:52

My question is simple (although the answer will most likely not be): I\'m trying to decide how to implement a server side upload handler in C# / ASP.NET.

I\'ve us

5条回答
  •  醉话见心
    2020-12-07 10:14

    As stated here, HttpModules are simple classes that can plug themselves into the request processing pipeline, whereas HttpHandlers differ from HttpModules not only because of their positions in the request processing pipeline, but also because they must be mapped to a specific file extensions.

提交回复
热议问题