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