Monday-Friday, 9:00-17:00
 

IIS发布core3.1 Web Application

feature image

IIS发布core3.1 Web Application

相对于.Net Framework来说, 在IIS发布Web Application, Core的区别主要在于hosting.

环境包含两个部分:

windowsdesktop-runtime-3.1.5-win-x64

.net core framework

DotNetCore.1.0.4_1.1.1-WindowsHosting

.net core hosting for iis

安装好相应底包后, 重启IIS服务.

net stop was /y

net start w3svc

可使用以上命令重启iis服务

重启服务后, 若无法正常访问, 如500错误. 别忘了去Event View – Application查看错误事件.

以下为官方core3.1使用说明

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1

https://www.bookstack.cn/read/asp/99df477bbbb43246.md

https://www.cnblogs.com/wangjieguang/p/core-iis.html

Leave a Reply

Your email address will not be published. Required fields are marked *