ASP.NET MVC 2 Preview 2 - display a list of directories, not home / index

I just download ASP.NET MVC 2 Preview 2, create a new project and run it. But why does it display a list of directories and not a default page? I am using VS2008 SP1 and ASP.NET MVC 1.

+2
source share
7 answers

Right-click the project and select properties . In the Web section, set the Run action on a Specific page , and then select the desired page.

+2
source

You need to set the default start page in your visual studio.

+1
source

IIS Visual Studio 2008 Web Dev. . , ASP.NET Developpement Visual Studio.

+1

, "" / , .

0
0

, , , .

MVC 2 VS 2008 - MVC . .

MVC2 VS2010 2010 .

.

, , - . Project → Properties → "Web" . " " "" " " .

- , Home/Index, .

0
source

You should check the global.asax routing rule to make sure you have a set of default routing rules that matches the controller and actions on your site.

-1
source

All Articles