开发者

MVC App migrate Classic pipeline to Integrated pipeline problems

We have an MVC2.0 app that ran under 2003, we have upgraded our environments to 2008 R2. Everything works, except one thing, some of our partial views have their own scripts, for readability we have placed these scripts at the same place as the View (Views folder) and named them the same thing as the partial view. This works in 2003 and Classic pipeline, but under Integrated pipeline all requests to static content under the view folders r开发者_开发问答eturn 404.

Is the only solution to move these static files to a normal folder or is it possible to solve it and let them stay in the views folder?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜