In my Web.Config file I have the following:
<system.webServer>
<handlers>
<add name="HANDLERNAME" verb="*" path="PATH.axd" type="HANDLERTYPE">
</handlers>
</system.webServer>
Before I run a particular bit of code, I want to check to see if the handler is present in my Web.Config file.
Is this something I'm able to do?
I've tried: ConfigurationManager.GetSection("system.webServer/handlers")
with no success, as this returns null.
Any help would be greatly appreciated!