Click here to Skip to main content
12,957,071 members (62,553 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked
Posted 21 Sep 2010

HTTP Handler

, 21 Sep 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
This is a tip I learnt from my recent project. We all know that to use a HTTP Handler we have to configure the ISAPI filter of the virtaul directory of IIS. We have to map the desired extension to a dll that will invoke our assembly. FOr example - if we need to use a .abc web extension, we need to map .abc to a dll (mostly aspnet_isapi.dll).

This can also be achieved without the ISAPI mapping in IIS. If you are not too particular about the extension that you would use for your web calls, then you can go for a .ashx extension for your HTTP handlers. .ashx is an inbuilt extension in IIS for HTTP Handlers. They are mapped to aspnet_isapi.dll by default. This saves you the hassle of manually configuring IIS and config file. This might come handy when deploying your HTTP Handlers on a remote web server where configuring IIS is a pain.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior)
Australia Australia
I am a Senior Software Developer / Technical Consultant in a leading software company.

You may also be interested in...

Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170525.1 | Last Updated 21 Sep 2010
Article Copyright 2010 by anshudutta
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid