Every .NET Web applications by default, generate URLs with the first letter of each word capitalized.
Mixing lowercase and uppercase letters might become an issue for SEO especially if you use both versions of the same URL.
URLs are case-sensitive, so yes.
— 🧀 John 🧀 (@JohnMu) September 17, 2021
URLs are case-sensitive, but pick whatever case you want.
— 🧀 John 🧀 (@JohnMu) June 22, 2017
Generate Lower Case URLs
The tag helpers will generate URLs with mixed casing. To turn this off and generate lowercase URLs, add the following line of code above services.AddControllersWithViews(); statement in the Startup.cs.
services.Configure<RouteOptions>(options => options.LowercaseUrls = true);
services.AddControllersWithViews();
From now on, all URLs will be generated in lowercase.
<a asp-action="About" asp-controller="Home">About</a>

Happy coding 👍.
Subscribe
Join the newsletter to get the latest updates.