Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Relationship between WebHostBuilder, Kestrel and IIS

$
0
0

Hi,

in ASP.NET Core a Web App is with RC2 a simple Console Application.  In Programm.cs there is by default the following Code in it: 

public class Program
{
  public static void Main(string[] args)
  {
      var host = new WebHostBuilder()
          .UseKestrel()
          .UseContentRoot(Directory.GetCurrentDirectory())
          .UseIISIntegration()
          .UseStartup<Startup>()
          .Build();

      host.Run();
  }
}

How is the Relationship between WebHostBuilder, Kestrel and IIS. Are they any Resources that explain the interaction between them?
Which Component creates the HTTPContext-Object?

Regards,
Chantal


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>