Set "Homepage" in Asp.Net MVC

In MVC the “homepage” (ie the route that displays when hitting is set to Home/Index .

  • Where is this value stored?
  • How can I change the “homepage”?
  • Is there anything more elegant than using RedirectToRoute() in the Index action of the home controller?

I tried grepping for Home/Index in my project and couldn’t find a reference, nor could I see anything in IIS (6). I looked at the default.aspx page in the root, but that didn’t seem to do anything relevent.


Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.