开发者

asp.net MVC 3 no default page

开发者 https://www.devze.com 2023-01-17 14:19 出处:网络
Has anyone tried to deploy an asp.net mvc 3 website that uses the razor templates?The project does not create a default p开发者_开发问答age and not sure if this changes in some way?I have several proj

Has anyone tried to deploy an asp.net mvc 3 website that uses the razor templates? The project does not create a default p开发者_开发问答age and not sure if this changes in some way?


I have several projects in the pipeline that work on both IIS 7 and 6 (test servers) without any issues with a missing default.aspx page. I don't have any production code in effect but so far it's not an issue.

I would say the issue with a missing default.aspx page would rely on the server not using the <modules runAllManagedModulesForAllRequests="true" /> in the web.config. Otherwise a default.aspx page isn't necessary for handling. As long as IIS uses the mvc module to handle requests.

0

精彩评论

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