Minifycode 2021-10-03 Viewed 1.1K times ASP.Net Core MVC

In this article, you will learn how do you Asp.net core MVC make action optional in routing

endpoints.MapControllerRoute(
    name: "default",
    pattern: "{controller=Home}/{action=Index}/{id?}");

Asp.net core MVC make action optional in routing
minify code