I've created a new ASP.NET MVC project with areas and I'm trying to set a controller action to be the default controller action if the user visits that area.
I added an area called 'Login' now I have Areas/Login/
and I added LoginController
.
I am trying to set this controller to be invoked when the user navigates to the website.
I can access it if I type in browser www.test.com/Login/Login
but I don't know how to set routing in global.asax
to point to this controller as the default.
How do I do that in ASP.NET MVC?