HTTP handler vs HTTP module

后端 未结 8 1406
粉色の甜心
粉色の甜心 2020-12-02 04:21

Can someone explain in less than 2 sentences the difference between both? Yes, I know google can provide hundreds of answers but not one in 2 clear sentences:)

8条回答
  •  天命终不由人
    2020-12-02 04:45

    Nice article aboute it HttpModule-and-HttpHandlers

    Reference: INFO: ASP.NET HTTP Modules and HTTP Handlers Overview

    “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”.

提交回复
热议问题