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 645B

1234567891011121314151617181920212223
  1. using Microsoft.AspNetCore;
  2. using Microsoft.AspNetCore.Hosting;
  3. namespace ProRestaurant
  4. {
  5. public class Program
  6. {
  7. public static void Main(string[] args)
  8. {
  9. CreateWebHostBuilder(args).Build().Run();
  10. }
  11. public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
  12. WebHost.CreateDefaultBuilder(args)
  13. .UseStartup<Startup>();
  14. public static IWebHost BuildWebHost(string[] args) =>
  15. WebHost.CreateDefaultBuilder(args)
  16. .UseStartup<Startup>()
  17. .UseUrls("http://localhost:58847")
  18. .Build();
  19. }
  20. }