使用 IIS 在 Windows 上託管 ASP.NET Core(Windows安裝實踐)

原文地址windows

https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/iis/?view=aspnetcore-2.0&tabs=aspnetcore2xapi

 

一)下載測試

https://www.microsoft.com/net/download/allthis

下載對應的開發版本spa

「rc1」結尾的是測試版本code

 

最終下載的這3個文件,依次安裝blog

 

備註開發

對於 Windows 8.1 和更早版本,或 Windows Server 2012 R2 和更早版本:請確保你的 Windows 安裝爲最新版本,而且包含能夠經過 Windows 更新安裝的 KB2999226。 若是沒有安裝此更新,則在啓動 .NET Core 應用程序時會看到以下錯誤:get

The program can't start because api-ms-win-crt-runtime-1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.it

 

若是須要特定的運行時,請從 .NET 下載存檔下載運行時並將其安裝在系統上。 重啓系統,或經過從命令提示符依次執行 net stop was /y 和 net start w3svc 來重啓 IIS,完成安裝。

相關文章
相關標籤/搜索