I think part of the question, of course, is how I can fix this:
I have an ASP.NET MVC site that runs in a Cassini web development environment:
protected void Application_BeginRequest (object sender, EventArgs e) {}
when downloading the file, but when I publish this on my IIS7 machine, it will no longer cause this.
It is still called on any other normal page load, it just doesn’t load
Isapi seems to be what I need to get my hands on, because the request is probably not processed by MVC on the published site, what can I do to do this?
It would be nice if I could just configure my RegisterRouters instead of changing the IIS configuration, but any hint in the right direction is welcome!
Thanks,
Ric
source
share