This article is a mirror article of machine translation, please click here to jump to the original article.

View: 19213|Reply: 1

[Solved] MVC setup route is invalid

[Copy link]
Posted on 4/17/2018 2:01:05 PM | | | |
This post was last edited by QWERTYU on 2018-4-17 14:28

Today a colleague gave me a project, and after running it, I found that the default is the physical path to direct access
The URL of the request is as follows:/Views/Login/Index.cshtml


The first reaction is that the route is not working.
After Baidu, it was found that it was because a colleague set up a splash page.
However, MVC only needs to modify the routing settings.


Solution:Delete the default splash page.








Previous:IIS6 MVC4 Route Failure Inaccessible Workaround
Next:Browser console writes cookies
 Landlord| Posted on 3/12/2019 10:11:17 AM |
HTTP 404。 The resource you're looking for (or one of its dependencies) may have been...
https://www.itsvse.com/thread-6868-1-1.html
(Source: Architect_Programmer)

Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com