API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Program.cs 794B

1234567891011121314151617181920212223242526
  1. using Microsoft.AspNetCore;
  2. using Microsoft.AspNetCore.Hosting;
  3. namespace UnivateProperties_API
  4. {
  5. public class Program
  6. {
  7. public static void Main(string[] args)
  8. {
  9. CreateWebHostBuilder(args).Build().Run();
  10. BuildWebHost(args).Run();
  11. }
  12. public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
  13. WebHost.CreateDefaultBuilder(args)
  14. .UseStartup<Startup>();
  15. public static IWebHost BuildWebHost(string[] args) =>
  16. WebHost.CreateDefaultBuilder(args)
  17. .UseStartup<Startup>()
  18. //.UseUrls("http://localhost:57260")
  19. .UseUrls("http://training.provision-sa.com:82")
  20. .UseIISIntegration()
  21. .Build();
  22. }
  23. }