Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (18 sloc) 484 Bytes
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using RazorPageApp.Helpers;
namespace RazorPageApp
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.Build()
.SetupDevelopmentDatabase();
}
}