在Visual Studio2010中,当您说到新项目时,您可以看到Asp.NET处理程序和通用处理程序。你能告诉我有什么区别吗,我想它是随.NET 4.0一起来的,因为我在谷歌上找不到相关的东西。
谢谢。
发布于 2010-03-16 12:06:59
我认为您的困惑可能来自于Visual Studio对术语的使用。
“Handler”实际上是一个"the process that runs in response to a request that is made to an ASP.NET Web application. The most common handler is an ASP.NET page handler that processes .aspx files. When users request an .aspx file, the request is processed by the page handler.“的ASP.NET处理程序。
“通用处理程序”(Generic handler,.ashx)是一种HTTP处理程序。泛型处理程序是"default HTTP handler for all Web handlers that do not have a UI and that include the @ WebHandler directive.“
https://stackoverflow.com/questions/2451882
复制相似问题