Skip to content

Commit 8dd8f7a

Browse files
authored
Update routing.md (#36805)
1 parent 11f57ed commit 8dd8f7a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

aspnetcore/fundamentals/routing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ monikerRange: '>= aspnetcore-3.1'
66
content_well_notification: AI-contribution
77
ms.author: tdykstra
88
ms.custom: mvc
9-
ms.date: 09/18/2024
9+
ms.date: 03/17/2026
1010
uid: fundamentals/routing
1111
ai-usage: ai-assisted
1212
---
@@ -520,9 +520,9 @@ The following table demonstrates the default route constraints and their expecte
520520
| `range(min,max)` | `{age:range(18,120)}` | `91` | Integer value must be at least 18 but no more than 120 |
521521
| `alpha` | `{name:alpha}` | `Rick` | String must consist of one or more alphabetical characters, `a`-`z` and case-insensitive |
522522
| `regex(expression)` | `{ssn:regex(^\\d{{3}}-\\d{{2}}-\\d{{4}}$)}` | `123-45-6789` | String must match the regular expression. See tips about defining a regular expression |
523-
| `required` | `{name:required}` | `Rick` | Used to enforce that a non-parameter value is present during URL generation |
524-
| `file` | `{filename:file}` | `myfile.txt` | String can contain path segments, but its last segment must have a dot (`.`) and be followed by one or more non-dot characters |
525-
| `nonfile` | `{page:nonfile}` | `PageName` | String must not have a dot in its last path segment that is followed by one or more non-dot (`.`) characters |
523+
| `required` | `{name:required}` | `Rick` | Enforces that an explicit value (not an ambient value) is present during URL generation. |
524+
| `file` | `{filename:file}` | `myfile.txt` | String can contain path segments, but its last segment must have a dot (`.`) and be followed by one or more non-dot characters |
525+
| `nonfile` | `{page:nonfile}` | `PageName` | String must not have a dot in its last path segment that is followed by one or more non-dot (`.`) characters |
526526

527527
[!INCLUDE[](~/includes/regex.md)]
528528

aspnetcore/fundamentals/routing/includes/routing3-7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ The following table demonstrates example route constraints and their expected be
499499
| `range(min,max)` | `{age:range(18,120)}` | `91` | Integer value must be at least 18 but no more than 120 |
500500
| `alpha` | `{name:alpha}` | `Rick` | String must consist of one or more alphabetical characters, `a`-`z` and case-insensitive. |
501501
| `regex(expression)` | `{ssn:regex(^\\d{{3}}-\\d{{2}}-\\d{{4}}$)}` | `123-45-6789` | String must match the regular expression. See tips about defining a regular expression. |
502-
| `required` | `{name:required}` | `Rick` | Used to enforce that a non-parameter value is present during URL generation |
502+
| `required` | `{name:required}` | `Rick` | Enforces that an explicit value (not an ambient value) is present during URL generation. |
503503

504504
[!INCLUDE[](~/includes/regex.md)]
505505

0 commit comments

Comments
 (0)