Kestrel Tuning

Adjusting Kestrel's limits, timeouts and protocols.

What is Kestrel Tuning?

Kestrel tuning adjusts server limits such as maximum request body size, connection counts, timeouts and HTTP/2 or HTTP/3 settings.

builder.WebHost.ConfigureKestrel(o => o.Limits.MaxRequestBodySize = 2 * 1024 * 1024);

Level: Master · More ASP.NET Core terms at this level

Updated