技术
使用Visual Studio Web Deploy发布ASP.NET Core至IIS
操作系统要求 * Windows 7及以上 * Windows Server 2008 R2及以上 IIS配置 在服务器管理器中,通过添加角色和功能的向导,在服务器角色中勾选Web服务器(IIS),并安装。 安装.NET Core Windows Server Hosting包 1. 安装.NET Core Windows Server Hosting [https://go.microsoft.com/fwlink/?LinkID=827547],这个包会安装.NET Core运行时、.NET Core库和ASP.NET Core模块,这个模块会在IIS和Kestrel服务器之间创建反向代理。 2. 重启服务器,或者从命令行执行net stop was /y,接着执行net start w3svc。