Net Core5 发布问题

新的服务器中 上线net5的接口 iis 不能打开  

Kestrel运行 localhost:5000能够正常打开
发现是IIS中的 

aspnetcoremodule 不见了
需要安装Hosting 
必须安装 net core2.x
以及目前最新的项目的 如 net core3.x 或者 5.x  按项目版本来使用最高的
net core 2.x hosting 安装 AspNetCoreModule


net core3.x 或者net core 5.x 安装 AspNetCoreModuleV2

原文地址:https://www.cnblogs.com/litianfeng-net/p/14373769.html