Answer the question
In order to leave comments, you need to log in
Asp.net mvc - magic with routes?
Good time of the day.
There is the elementary Asp.Net MVC application in version 5, a basic package. Added the controller everything worked. Then the virtual machine glitched, restarted. Then the black magic began. The controller is not working. If you rename it works. Rename back - no. I compared both directories and controllers - everything is exactly the same. Gives the following error: The resource cannot be found - 404.
The name that caused the FeedbackController stupor. I googled, found advice to rename (in fact, I came to such a decision myself), but I still want to understand the reasons for such obscene behavior.
Answer the question
In order to leave comments, you need to log in
After a series of gestures, I did not find a convincing answer to this obscene behavior. There are 2 ways to solve, vlob, so to speak:
1. Move the folder with the project.
2. Rename the controller.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question