為 .NET Core 應用程式設定“DefaultConnectionLimit”是否正確?
public static void Main(string[] args)
{
ServicePointManager.Expect100Continue = false;
ServicePointManager.DefaultConnectionLimit = 100;
BuildWebHost(args).Run();
}
uj5u.com熱心網友回復:
你可以在里面配置Program.cs,但是通常我們會在里面配置一些ConfigureServices檔案Startup.cs。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/416839.html
標籤:
