BootstrapAdmin/Bootstrap.Admin/Program.cs

17 lines
404 B
C#
Raw Normal View History

2018-06-07 00:45:47 +08:00
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace Bootstrap.Admin
{
public class Program
{
public static void Main(string[] args)
{
2018-06-16 14:35:10 +08:00
CreateWebHostBuilder(args).Build().Run();
2018-06-07 00:45:47 +08:00
}
2018-06-16 14:35:10 +08:00
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args).UseStartup<Startup>();
2018-06-07 00:45:47 +08:00
}
}