ASP.NET Core 使用IIS作为Web服务器,部署在IIS上
ASP.NET Core 使用IIS作为Web服务器,部署在IIS上 1.修改项目代码Program.cs文件 替换为如下内容: public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrentD...
- ASP.NET Core 使用IIS作为Web服务器,部署在IIS上