如何在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[^]