httpModel与httpHandler区别

顺序:httpModel->httpHandler

区别:

httpModel所有都执行

httpHandler根据后缀执行 

 

 

 

 

实例:

<httpHandlers>

<add verb="*" path="*.zip" type="WQB.Service.HttpHandler.SecurityHandler" />

</httpHandlers>

--------------------------------------------------------------------------------

<httpModules>

<add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload" />

</httpModules>

 

posted @ 2018-04-12 10:23  735882640  阅读(594)  评论(0编辑  收藏  举报