ASP.NET中有多少种类型的Http Handler

时间:2012-12-05 05:13:44

标签: c# asp.net web handler

我只想知道ASP.NET中有多少种类型的Http Handler可用?

1 个答案:

答案 0 :(得分:3)

MSDN 文章指出有四个Http处理程序。您甚至可以创建自己的自定义Http处理程序(在同一篇文章中提到)

1) ASP.NET page handler (*.aspx)
2) Web service handler (*.asmx)
3) Generic Web handler (*.ashx)
4) Trace handler (trace.axd)

在其他理解方式中,有两种类型的Http处理程序

1) Asynchronous
2) Synchronous
//mentioned in the same article