关于如何自定义handler

1、在web.config 中的webserver 下添加

<handlers>
<add verb="*" path="*.html" type="HttpHandler.Handler1,HttpHandler" name="123"/>
</handlers>

注意:type要鞋清楚,规则为 命名空间.类名,程序集名称

2、编写自定义handler 处理

原文地址:https://www.cnblogs.com/ransom/p/8712204.html