説明なし

Program.cs 693B

1234567891011121314151617181920212223242526
  1. using Microsoft.AspNetCore.Hosting;
  2. using Microsoft.Extensions.Configuration;
  3. using Microsoft.Extensions.Hosting;
  4. using Microsoft.Extensions.Logging;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Threading.Tasks;
  9. namespace Backend.API
  10. {
  11. public class Program
  12. {
  13. public static void Main(string[] args)
  14. {
  15. CreateHostBuilder(args).Build().Run();
  16. }
  17. public static IHostBuilder CreateHostBuilder(string[] args) =>
  18. Host.CreateDefaultBuilder(args)
  19. .ConfigureWebHostDefaults(webBuilder =>
  20. {
  21. webBuilder.UseStartup<Startup>();
  22. });
  23. }
  24. }

Powered by TurnKey Linux.