Generating Custom URL Routing in ASP.NET Core MVC [Change Routing]

preview_player
Показать описание

N.B : Don't be confused, it's not an API project, mistakenly I set MapRoute name as "MyAPI".

(Affiliate Links)
----------------------------------------------------------------------------------------------------
👍Top 5 ASP.NET Core Courses :
----------------------------------------------------------------------------------------------------
===============================================
✅ OTHER INFORMATION :
===============================================
----------------------------------------------------------------------------------------------------
👍 RELATED TAGS :
----------------------------------------------------------------------------------------------------

#CustomMvcURL #ChangeDefaultUrl #MvcRulChange #AspNetCore
Рекомендации по теме
Комментарии
Автор

If using areas:
pattern: "areaName/controllerName/{variableName}",
defaults: new {area = "areaName", controller = "controllerName", action = "Index", });

sondrehyland