1.VS 中发布 以文件系统,设置目标发布的位置
2.安装.Net Core runtime
运行时下载地址:https://dotnet.microsoft.com/download/visual-studio-sdks?utm_source=getdotnetsdk&utm_medium=referral
3.安装AspNetCoreModule
.net core模块下载地址:https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-2.1.1-windows-hosting-bundle-installer
查看是否.net core模块已安装
有此AspNetCoreModule就说明模块已安装了
接下来跟之前IIS下的发布差不多了,将刚才vs发布的文件系统直接发布就行了,应用程序缓存池中设置为无托管代码
这样就可以运行查看页面了。