using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace Bit.Mail { public class Program { public static void Main(string[] args) { WebHost .CreateDefaultBuilder(args) .UseStartup() .Build() .Run(); } } }