开发者

why is it, that On file upload, the Application_BeginRequest is not being triggered on published site?

I think part of the question is of course, how do I fix this:

I have an ASP.NET MVC site which on the web development environment Cassini triggers the:

protected void Application_BeginRequest(object sender, EventArgs e) { }

on a file upload, but when I publish this to my IIS7 machine 开发者_JAVA技巧it will not trigger this any more..

It still gets called on any other normal page load, just uploads it isn't

Isapi seems to be what I need to get my hands on, because the request is probably not being handled by MVC on the published site, what can I do to make it so?

Would be nice if I could just tweak my RegisterRouters instead of changing the IIS configuration, but any hint in the right direction is appreciated!

Thank you,

Ric

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜