How to Set Default Controller in asp.net MVC 4 & MVC 5 ?

As per my knowledge we can set two way first one is 

i) Go to in your project root directory.
ii) Go to App_Start folder inside this RouteConfig.cs file open and set as like this

RouteConfig.cs
And second one is 
i) Go to in your project root directory.
ii) Go to project property window(Short cut key click on root directory and press  "Alt +Enter")
a console window open.
iii) Click on Web tab and set as like this

Property console





Comments

Popular posts from this blog

List all employee's names and their managers by manager name using an join

Operating System (OS) OR Platform Independency