Web Api Core hangs when start it on IIS Express in Visual Studio 2017?
Enabling IISExpress
on WebApi Core:
1. Enabling the IISIntegration components:
Install Microsoft.AspNetCore.Server.IISIntegration
package.
2. Edit Program.cs
in root of project:
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration() // Add this line
.UseStartup<Startup>()
.Build();