.Net Core MVC項目IIS下部署

1.VS 中發佈 以文件系統,設置目標發佈的位置windows

2.安裝.Net Core runtime緩存

運行時下載地址:https://dotnet.microsoft.com/download/visual-studio-sdks?utm_source=getdotnetsdk&utm_medium=referral visual-studio

3.安裝AspNetCoreModule.net

.net core模塊下載地址:https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-2.1.1-windows-hosting-bundle-installer 3d

查看是否.net core模塊已安裝blog

 

有此AspNetCoreModule就說明模塊已安裝了get

接下來跟以前IIS下的發佈差很少了,將剛纔vs發佈的文件系統直接發佈就好了,應用程序緩存池中設置爲無託管代碼io

這樣就能夠運行查看頁面了。 class