MVC-Routing and mvcrouting Routing
Instance product based on asp.net mvc 5.0 framework, source code: http://www.jinhusns.com/Products/Download
We noticed that the URL in the address bar is Home/Index.
A route can specify its URL and its default value. It can also restrict all parts of the URL.
We call a RegisterRoutes method in the Application_Start method of the Global. asax. cs file in the newly created application, as follows:
By default, when return View0 is used in the Index Action to return the view,/Views/Home/lndex will be searched. aspx file. If this file cannot be found, it will be searched in the Share Directory:/Views/Share/lndex. aspx. If no View is found, an exception occurs.
Model-View-Controller (Model View-Controller mode) is used to represent a software architecture mode. It divides the software system into three basic parts: Model, View, and Controller)