Hi,
I am trying to get a basic HTTP Handler to work, and I cannot figure this out. I have the following handler:
namespace RoutingTest
{
public class TrackingHandler : IHttpHandler
{
public bool IsReusable { get { return true; } }
public void ProcessRequest(HttpContext context)
{
//Break point at this line
string path = Path.GetFileName(context.Request.PhysicalPath);
path = path.ToUpper();
context.Response.Write(path);
}
}
}
I have the following Web.config
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.webServer& ...
Go to the complete details ...