Program.cs 627 B

1234567891011121314151617181920212223242526
  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.Hosting;
  7. namespace Winsoft.GOV.XF.WXCore
  8. {
  9. public class Program
  10. {
  11. public static void Main(string[] args)
  12. {
  13. var host = new WebHostBuilder()
  14. .UseKestrel()
  15. .UseContentRoot(Directory.GetCurrentDirectory())
  16. .UseIISIntegration()
  17. .UseStartup<Startup>()
  18. .UseApplicationInsights()
  19. .Build();
  20. host.Run();
  21. }
  22. }
  23. }