ASP.NET - Dynamically register an HttpHandler in code (not in web.config)
Posted
by Sunday Ironfoot
on Stack Overflow
See other posts from Stack Overflow
or by Sunday Ironfoot
Published on 2010-03-23T14:31:38Z
Indexed on
2010/03/23
14:33 UTC
Read the original article
Hit count: 667
Is there a way I can dynamically register an IHttpHandler
in C# code, instead of having to manually add it to the system.web/httpHandlers
section in the web.config.
This may sound crazy, but I have good reason for doing this. I'm building a WidgetLibrary that a website owner can use just by dropping a .dll file into their bin directory, and want to support this with minimal configuration to the web.config.
© Stack Overflow or respective owner