Skip to content

Instantly share code, notes, and snippets.

@spboyer
Created June 7, 2019 20:27
Show Gist options
  • Save spboyer/43d92eeb0a448d2e17ecaf8a62929ef3 to your computer and use it in GitHub Desktop.
Save spboyer/43d92eeb0a448d2e17ecaf8a62929ef3 to your computer and use it in GitHub Desktop.
Basic ASP.NET Core Program.cs file
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment