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

123456789101112131415161718192021
  1. using System.IO;
  2. using Microsoft.AspNetCore.Hosting;
  3. namespace WebApiWebSem
  4. {
  5. public class Program
  6. {
  7. public static void Main(string[] args)
  8. {
  9. var host = new WebHostBuilder()
  10. .UseKestrel()
  11. .UseUrls("http://0.0.0.0:8080")
  12. .UseContentRoot(Directory.GetCurrentDirectory())
  13. .UseIISIntegration()
  14. .UseStartup<Startup>()
  15. .Build();
  16. host.Run();
  17. }
  18. }
  19. }