How to show /About instead of /Home/About url in ASP.NET MVC -


It is possible to do this without changing the underlying architecture because it is about showing a URL.

In fact, I still want to be valid about Home / when the user types it, but instead it appears / above it.

You can add a new route to your global.asax.

EDIT: Ferrète has given you the C # version. I'll give you the VB version:

  routes. MapRoute (with "About", "About", New {{.controller = "home", .action = "about"}) with    

Comments