在空余时间学习下NetCore,记录日常,供参考. 1.确保已下载安装NetCore2.2SDK 环境,下载地址:https://dotnet.microsoft.com/download/dotnet-core/2.2 2.打开VS2017,首先新建一个解决方案,并在解决方案上新建项目操作,选择ASP.NET Core Web 应用程序,点击“确定”.继续,NetCore版本选择ASP.NET Core 2.2,类型选择“Web应用程序”点击确定. 3.在appsettings.json添加配…