Skip to content

Instantly share code, notes, and snippets.

@sthewissen
Created January 17, 2022 13:17
Show Gist options
  • Save sthewissen/109473a44ad1451a8ef0eb5ae86eff2d to your computer and use it in GitHub Desktop.
Save sthewissen/109473a44ad1451a8ef0eb5ae86eff2d to your computer and use it in GitHub Desktop.
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment