Consider an HttpHandler that can be configured for multiple paths. But based on the path that matched a url i could be able to select the settings to apply.
I don't want to pass parameters in the url.
Consider an HttpHandler that can be configured for multiple paths. But based on the path that matched a url i could be able to select the settings to apply.
I don't want to pass parameters in the url.
I don't have time right now to write a complete example, but I guess this would be the way to go:
Good luck.
Thanks. I have done that and it works well. I also made use of the reflector tool to see how the handler mapping match is made. There seems to be another challenge i have come across. There different ways to configure httphandlers depending on the type of application pool. Is there a general way to get configuration data of the current pool httphandlers?