تقدم و تاخر مسیریابیها در ASP.NET MVC و Web API
نویسنده: وحید نصیری
تاریخ: ۱۳۹۴/۰۸/۲۳ ۱:۴
آدرس: www.dntips.ir
Routing order can be broken down into the following steps :
Check the Order property (if available).
Order all routes without an explicit Order attribute as follows:
Literal segments.
Route parameters with constraints.
Route parameters without constraints.
Wildcard parameter segments with constraints.
Wildcard parameter segments without constraints.
As a tie-breaker, order the routes via a case-insensitive string comparison.