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.

123456789101112131415161718192021222324
  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://192.168.6.188:5000")
  19. .Build();
  20. }
  21. }