I've defined a custom HttpHandler,
public class RequestHandler : IHttpHandler
Which I pass all my requests through,
<configuration>
<system.webServer>
<handlers>
<add name="RequestHandler" path="*" verb="*" type="WebApplication6.RequestHandler" />
</handlers>
开发者_开发知识库 </system.webServer>
Does this class get re-constructed every time someone requests a page or not?
The handler will be reused if IHttpHandler.IsReusable
returns true
.
IHttpHandler
精彩评论