.net core项目设置启动地址
在Program.cs中
public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseUrls("Http://*:7200"); webBuilder.UseStartup<Startup>(); });
记录编程的点滴,体会学习的乐趣