Enabling IISExpress in the WebApi Kernel:
1. Enabling IISIntegration Components:
Install the Microsoft.AspNetCore.Server.IISIntegration package.
2. Change Program.cs in the root of the project:
var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory()) .UseIISIntegration()
source share