﻿using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;

namespace HelperTool
{
    public class Program
    {
      public static void Main(string[] args)
        {
            BuildWebHost(args).Run();
        }

        public static IWebHost BuildWebHost(string[] args) =>
            WebHost.CreateDefaultBuilder(args)
                .UseKestrel(kestrelServerOption => kestrelServerOption.AddServerHeader = false)      
                .UseUrls("http://localhost:5001")
                .UseStartup<Startup>()
                .Build();
    }
}
