I use .net core 2.1 and published it to IIS 8.5. I have a hard time to understand the concept OF .NET core hosting.
The program.cs is
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.Build();
}
You see there is no UseKestrel word, but in the response header, it shows Server is Kestrel.
Also in the project file, there is no <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>. And I don't have the code such as UseIISIntegration.
Summary of my questions:
- Why it uses
Kestrel? - Is it
inprocessoroutofprocess? - Which file handles this particular case? I assume that it is
AspNetCoreModule, but which file?(w3wp?)


