2020-01-10 08:33:13 -05:00
|
|
|
|
using Bit.Core.Utilities;
|
2017-12-08 15:02:54 -05:00
|
|
|
|
|
|
|
|
|
|
namespace Bit.EventsProcessor;
|
2022-08-29 16:06:55 -04:00
|
|
|
|
|
2019-03-02 12:15:28 -05:00
|
|
|
|
public class Program
|
2017-12-08 15:02:54 -05:00
|
|
|
|
{
|
2019-03-02 12:15:28 -05:00
|
|
|
|
public static void Main(string[] args)
|
2017-12-08 15:02:54 -05:00
|
|
|
|
{
|
2020-01-10 08:33:13 -05:00
|
|
|
|
Host
|
2019-03-02 12:15:28 -05:00
|
|
|
|
.CreateDefaultBuilder(args)
|
2020-01-10 08:33:13 -05:00
|
|
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
|
|
|
|
{
|
|
|
|
|
|
webBuilder.UseStartup<Startup>();
|
|
|
|
|
|
})
|
2025-11-21 14:39:26 -05:00
|
|
|
|
.AddSerilogFileLogging()
|
2019-03-02 12:15:28 -05:00
|
|
|
|
.Build()
|
|
|
|
|
|
.Run();
|
2017-12-08 15:02:54 -05:00
|
|
|
|
}
|
|
|
|
|
|
}
|