I'm migrating an ASP.NET Framework application hosted on IIS to ASP.NET Core hosted on Kestrel.
In ASP.NET Framework, I have a web.config with dozens of custom configurations/optimizations, like:
<httpRuntime executionTimeout="120" maxUrlLength="8192" maxQueryStringLength="8192" />
Problem is that I can't find how to configuration those settings, like maxQueryStringLength
in ASP.NET Core with Kestrel.
For example, in this answer, the user says that it is not available in ASP.NET Core and recommends to use IIS or NGINX.
How can I migrate my web.config
settings without using a web.config
file in ASP.NET Core? I would prefer to use the default appsettings.json
file.