在上一節中,寫了一個api項目,接下來看看如何部署到iis:
參考:https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1
第一步:“控制面板”>“程序”>“程序和功能”>“打開或關閉 Windows 功能”>打開“Internet Information Services”節點。
第二步:dotnet-hosting-3.1.8-win.exe
第三步:打開iis,添加網站
第四步:測試
如果我的博客對你有幫助、如果你喜歡我的博客內容,請 “點贊” “評論” “收藏” 一鍵三連哦!
大家的支持就是我堅持下去的動力。點贊後不要忘了👉 關注 👈我哦!