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

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.Hosting;
  7. namespace WebApiAuth
  8. {
  9. public class Program
  10. {
  11. public static void Main(string[] args)
  12. {
  13. var host = new WebHostBuilder()
  14. .UseKestrel()
  15. .UseContentRoot(Directory.GetCurrentDirectory())
  16. .UseUrls("http://0.0.0.0:8080")
  17. .UseIISIntegration()
  18. .UseStartup<Startup>()
  19. .Build();
  20. host.Run();
  21. }
  22. }
  23. }