I just installed the ASP.Net MVC Preview 2 so I can have a look at some of the new features.
However when I create a new MVC 2 project it creates everything but default.aspx, is this a bug or is this handled differently in version 2 to version 1? When I run the project it just takes me to the directory listing, I assume I could just copy one from an MVC 1 project?
Edit
Just to update, if I add a default.aspx to the project with the following line in its page load then the application works fine
Response.Redirect("Home/Index");
It’s just the initial route request that doesn’t seem to go through the routing engine. This is when I’m running it from visual studio, I haven’t yet tried deploying to IIS.
Have updated to the latest version of ASP.Net MVC 2 and the problem went a way. So I guess either something went wrong with my install or there was a problem with that version