Açıklama Yok

Program.cs 874B

1234567891011121314151617181920212223242526272829303132333435
  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.Net.Http;
  9. using System.Threading.Tasks;
  10. namespace Logger.API
  11. {
  12. public class Program
  13. {
  14. public static void Main(string[] args)
  15. {
  16. try
  17. {
  18. CreateHostBuilder(args).Build().Run();
  19. }
  20. catch (Exception ex)
  21. {
  22. throw new Exception(ex.Message);
  23. }
  24. }
  25. public static IHostBuilder CreateHostBuilder(string[] args) =>
  26. Host.CreateDefaultBuilder(args)
  27. .ConfigureWebHostDefaults(webBuilder =>
  28. {
  29. webBuilder.UseStartup<Startup>();
  30. });
  31. }
  32. }

Powered by TurnKey Linux.