Last post Oct 18, 2007 03:43 AM by kashifdotnet
Oct 16, 2007 11:38 PM|kashifdotnet|LINK
this may be a very basic question but forgive me for my ignorance [:)] anyways, as we can test HttpModules without using IIS (where the HttpModule can be added to our bin folder and used for the application), is it also true for HttpHandlers. I have Windows
XP Home edition without IIS, so can i create any of my HttpHandler and test it just like an HttpModule (without using IIS). Could also anyone elaborate how to accomplish this task.
Thanks for your advice...
Oct 17, 2007 11:18 AM|jcw14|LINK
Yes you can, the HttpHandlers are hosted by the ASPNet worker process, not by IIS, so they'll work whatever web server you're using. So simply test them using the development web server that comes with VS.
Oct 18, 2007 12:28 AM|abhishek2981|LINK
Hi, Yes you can test the HTTP handler without using the IIS, as it is related to the asp.net worker process, you can simply create a class and Implement it with IHTTPHandler, and place it in the app_code and add it using web.config.
This way you can use HTTP handler with the local developement server integrated with the VS.net 2005
Oct 18, 2007 03:43 AM|kashifdotnet|LINK
Guys thanks for the reply. I mark both of them [;)]