Program.cs 671 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. using Microsoft.AspNetCore.Builder;
  7. using Microsoft.AspNetCore.Hosting;
  8. namespace Winsoft.GOV.XF.WebApi.WXCore
  9. {
  10. public class Program
  11. {
  12. public static void Main(string[] args)
  13. {
  14. var host = new WebHostBuilder()
  15. .UseKestrel()
  16. .UseContentRoot(Directory.GetCurrentDirectory())
  17. .UseIISIntegration()
  18. .UseStartup<Startup>()
  19. .UseApplicationInsights()
  20. .Build();
  21. host.Run();
  22. }
  23. }
  24. }