I was wondering if there is any way to get the HttpHandler for a given path.
Something like the following:
var url = "~/MyFolder/MyFile.axd";
IHttpHandler = MagicObject.GetHandler(url);
Does that "MagicObject" exist somewhere in the .NET framework? :)
Thank you, bye.
=WereWolf= --
Helping someone does not mean giving them what they need, but making them able to get it themselves
--
The Code Golem http://www.codegolem.com/
WereWolf
Contributor
2841 Points
399 Posts
How to get HttpHandler class for a given url? Please help!
Nov 04, 2011 02:01 PM|LINK
Hello there,
I was wondering if there is any way to get the HttpHandler for a given path.
Something like the following:
var url = "~/MyFolder/MyFile.axd";
IHttpHandler = MagicObject.GetHandler(url);
Does that "MagicObject" exist somewhere in the .NET framework? :)
Thank you, bye.
--
Helping someone does not mean giving them what they need, but making them able to get it themselves
--
The Code Golem http://www.codegolem.com/