一、使用Visual Studio 2022编写
1.创建项目
右键解决方案-->添加-->新建项目-->FirstDemo6.Mvc(文件的名字,后缀为.Mvc)-->.NET6.0(当前的.NET的版本)
二、使用Visual Studio Code编写
1.创建项目
右键-->Add New project-->ASP.NET Core Web App(Model-View-Controller)-->C#-->FirstDemo6.Mvc(文件的名字,后缀为.Mvc)
2.所需插件
C#、Nuget Gallery Package/ Manger GUI、solution