Program.cs 609 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. using Microsoft.AspNetCore;
  7. using Microsoft.AspNetCore.Hosting;
  8. using Microsoft.Extensions.Configuration;
  9. using Microsoft.Extensions.Logging;
  10. namespace CSCoreRedis
  11. {
  12. public class Program
  13. {
  14. public static void Main(string[] args)
  15. {
  16. CreateWebHostBuilder(args).Build().Run();
  17. }
  18. public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
  19. WebHost.CreateDefaultBuilder(args)
  20. .UseStartup<Startup>();
  21. }
  22. }