如何在VS 2012中部署MVC应用程序时设置启动页面 [英] How to set start page while deploying MVC application in VS 2012
本文介绍了如何在VS 2012中部署MVC应用程序时设置启动页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我使用互联网应用程序开发简单的mvc应用程序。运行vs 2012时应用程序正常工作但在IIS启动页面上运行时未正确设置。 (仅显示目录列表)...我是MVC的新用户PLZ帮帮我..
我尝试过:
发布成功但不起作用..
Hi all
I have develop simple mvc application using internet application. Application work fine while running through vs 2012 but while running on IIS startup page not set properly. (Display only directory list)... I am new for MVC plz help me..
What I have tried:
publish succeeded properly but not working..
推荐答案
检查这些链接。它可能会有所帮助。
将默认页面设置为您的网站 [ ^ ]
在IIS中配置默认文档 [ ^ ]
IIS7:如何在其web.config中配置网站的默认文档? | Rakki Muthukumar [ ^ ]
check these links. it might help.
Set Default page to your Site [^]
Configuring Default Documents in IIS [^]
IIS7 : HOW TO configure the default document of the website in its web.config? | Rakki Muthukumar[^]
这篇关于如何在VS 2012中部署MVC应用程序时设置启动页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文