User-1311618964 posted
I am using a simple HttpHandler, which works fine when launch from visual studio, but fails to work when deployed in IIS 5.1.
I already have tried mapping .test extension to the ASP.NET ISAPI DLL as mentioned in the following link
http://msdn.microsoft.com/en-us/library/bb515343.aspx but no luck .
This is the code, which simply return current dateTime
public class TestHttpHandler:IHttpHandler
{
#region IHttpHandler Members
public bool IsReusable
{
get { return true; }
}
public void ProcessRequest(HttpContext context)
{
context.Response.Write(DateTime.Now.ToString());
}
#endregion
}
Here is my web.config settings:
<httpHandlers>
<add verb="GET" path="*.test" validate="false"/>
</httpHandlers>
I will appreciate any help in this matter, as I am scratching my head from last many hours for making this work. L
Thanks
Rahul