Is it a correct place to set 'DefaultConnectionLimit' for .NET Core app?
public static void Main(string[] args)
{
ServicePointManager.Expect100Continue = false;
ServicePointManager.DefaultConnectionLimit = 100;
BuildWebHost(args).Run();
}
CodePudding user response:
You can configure it in Program.cs , But usually we will configure some files in ConfigureServices in Startup.cs.
