您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }