using DD.Persistence.API; using System.Globalization; namespace DD.Persistence.App; public class Program { public static void Main(string[] args) { CultureInfo uiCulture = CultureInfo.CurrentUICulture; CultureInfo.CurrentUICulture = new CultureInfo("en-EN"); var host = CreateHostBuilder(args).Build(); Startup.BeforeRunHandler(host); host.Run(); } public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); }); }