// ------------------------------------------------------------------------------------------------- // Copyright (c) Johan Boström. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. // ------------------------------------------------------------------------------------------------- namespace API.BasicAuth { using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; public class Program { public static void Main(string[] args) { BuildWebHost(args).Run(); } public static IWebHost BuildWebHost(string[] args) { return WebHost.CreateDefaultBuilder(args) .UseStartup() .Build(); } } }