It's probably very simple, but it really baffles me. When I implement IHttpHandler, I create a handler and then register it in the web.config file as well:
IIS6 Portion: <httpHandlers> <add verb="*" path="*.randomextension" type="MyProgramNameSpace.MyHandler" /> </httpHandlers> IIS7 Portion: <handlers> <add name="mine" verb="*" path="*. randomextension" type ="MyProgramNameSpace.MyHandler" /> </handlers>
It seems to work quite well and allows you to use different handlers and options for it. This allowed me to skip the page class, etc., by directly accessing the pipeline. However, every so often I continue to work in the documentation, which says that I need to use something about ashx or axd.
What is it? How should w / handler creations do this?
This is probably very simple, but for some reason I am completely confused when I move on to this ashx or axd method.
source share