He we are going to see some points to see how can we register our HTTP Handlers in Web.Config file and How we can call the registered HTTP handler In addition to being mapped to a file type (or specific file name) in a CONFIG file, an HTTP handler has to be registered in the IIS metabase. For example, if you register an HTTP handler with the Web.config file shown below, you also have to map *.igen to Aspnet_isapi.dll in the IIS metabase. Otherwise, ASP.NET doesn't see the request and can't forward it to the handler.
<configuration> <system.web> <httpHandlers> <add verb="*" path="*.igen" type="ImageGen, ImageGenLib" /> </httpHandlers> </system.web> </configuration>
I hope this will help u when registering your HTTP Handler… Cheers. Siva
|
No responses found. Be the first to respond and make money from revenue sharing program.
|