I am creating a HTTP Handler to handle some files in a custom way and it appears to be ignored by DNN
in the web config I have
<add name="FileHandling" verb="*" path="Files.aspx" type="FileHandler.FileHandler, FileHandler" />
However any link to Files.aspx does not run the code - currently the only code in the module is this
public class FileHandler : IHttpHandler
{
public bool IsReusable
{
get { return true; }
}
public void ProcessRequest(HttpContext context)
{
context.Response.Write("Hello from custom handler.");
}
}
So I would expect to just see 'Hello from custom handler' not a 404 error
Do I need to mess with the Friendly URL settings or something to make this work?