namespace LaaProductionWeb.API { using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; /// /// Application startup class contining the method. /// public class Program { /// /// Default start point for the application. /// /// arguments provided from server on application start. public static void Main(string[] args) => CreateWebHostBuilder(args) .Build() .Run(); /// /// !Important do not refactor. This method is used from other frameworks, like EntityFramework. /// /// arguments provided from for creating the . /// Created and configured . public static IWebHostBuilder CreateWebHostBuilder(string[] args) => WebHost .CreateDefaultBuilder(args) .UseStartup(); } }