'Visual Studio 2022 - Where is the RouterConfig.cs and Global.asax in MVC project?
I am new to Visual Studio and ASP.NET and I am watching a tutorial by Mosh Hamedani on MVC development. The tutorial is a couple of years old, but when he creates a new ASP.NET MVC project, it has an App_Start folder with a RouterConfig.cs file, and also a Global.asax file. Both of these things are missing from a project created in Visual Studio 2022, and thus the tutorials are failing because of lack of proper routing.
Is there a way to get Visual Studio to create this older project setup, or to get access to these files and folders, or will this tutorial be totally useless to me?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|