Tuesday, January 16, 2018

[help]Show route path in address bar instead of server path of the view

After publishing my ASP.NET MVC 5 project on with local IIS file system, when I run my project I get the route to the view that is used as default.

Instead of ~/home/index/ I get something similar to /Account/Login?ReturnUrl=%2F. (view login.cshtml is inside folder Account).

How can I revert to having the previous route type in the address bar ? I am using VS 2015 and IIS 6.2

[help]Show route path in address bar instead of server path of the view Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team