title: How to migrate ASP.NET Framework configurations to ASP.NET Core?
body: <p>I'm migrating an ASP.NET Framework application hosted on IIS to ASP.NET Core hosted on Kestrel.</p>
  
  <p>In ASP.NET Framework, I have a web.config with dozens of custom configurations/optimizations, like:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;httpRuntime executionTimeout="120" maxUrlLength="8192" maxQueryStringLength="8192" /&gt;
  </code></pre>
  
  <p>Problem is that I can't find how to configuration those settings, like <code>maxQueryStringLength</code> in ASP.NET Core with Kestrel.</p>
  
  <p>For example, in this <a href="https://stackoverflow.com/a/39049955/13058468">answer</a>, the user says that it is not available in ASP.NET Core and recommends to use IIS or NGINX.</p>
  
  <p>How can I migrate my <code>web.config</code> settings without using a <code>web.config</code> file in ASP.NET Core? I would prefer to use the default <code>appsettings.json</code> file.</p>