BootstrapAdmin/Bootstrap.Admin/Program.cs

28 lines
689 B
C#
Raw Normal View History

2018-06-07 00:45:47 +08:00
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace Bootstrap.Admin
{
/// <summary>
///
/// </summary>
2018-06-07 00:45:47 +08:00
public class Program
{
/// <summary>
///
/// </summary>
/// <param name="args"></param>
2018-06-07 00:45:47 +08:00
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
}
/// <summary>
///
/// </summary>
/// <param name="args"></param>
/// <returns></returns>
2018-06-16 14:35:10 +08:00
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args).UseSentry().UseStartup<Startup>();
2018-06-07 00:45:47 +08:00
}
}