title: How do you enforce lowercase routing in ASP.NET Core?
body: <p>In ASP.NET 4 this was as easy as <code>routes.LowercaseUrls = true;</code> in the <code>RegisterRoutes</code> handler for the app.</p>
  
  <p>I cannot find an equivalent in ASP.NET Core for achieving this. I'd think it would be here:</p>
  
  <pre><code>app.UseMvc(configureRoutes =&gt;
  {
      configureRoutes.MapRoute("Default", "{controller=App}/{action=Index}/{id?}");
  });
  </code></pre>
  
  <p>But nothing in <code>configureRoutes</code> looks to allow it... unless there's an extension method somewhere that I can't find in the docs perhaps?</p>