Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions aspnetcore/diagnostics/code-analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ Diagnostic ID:
* [ASP0024](xref:diagnostics/asp0024)
* [ASP0025](xref:diagnostics/asp0025)
* [ASP0026](xref:diagnostics/asp0026)
* [ASP0027](xref:diagnostics/asp0027)
* [ASP0028](xref:diagnostics/asp0028)
* [BL0001](xref:diagnostics/bl0001)
* [BL0002](xref:diagnostics/bl0002)
* [BL0003](xref:diagnostics/bl0003)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg001

-->

| | Value |
|-|-|
| **Rule ID** |RDG001|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG001 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Future cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg002

-->

| | Value |
|-|-|
| **Rule ID** |RDG002|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG002 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg003

-->

| | Value |
|-|-|
| **Rule ID** |RDG003|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG003 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Future cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ ai-usage: ai-assisted

-->

| | Value |
|-|-|
| **Rule ID** |RDG004|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG004 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ ai-usage: ai-assisted

-->

| | Value |
|-|-|
| **Rule ID** |RDG005|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG005 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg006

-->

| | Value |
|-|-|
| **Rule ID** |RDG006|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG006 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg007

-->

| | Value |
|-|-|
| **Rule ID** |RDG007|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG007 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg008

-->

| | Value |
|-|-|
| **Rule ID** |RDG008|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG008 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg009

-->

| | Value |
|-|-|
| **Rule ID** |RDG009|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG009 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg010

-->

| | Value |
|-|-|
| **Rule ID** |RDG010|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG010 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg011

-->

| | Value |
|-|-|
| **Rule ID** |RDG011|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG011 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg012

-->

| | Value |
|-|-|
| **Rule ID** |RDG012|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG012 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ uid: fundamentals/aot/request-delegate-generator/diagnostics/rdg013

-->

| | Value |
|-|-|
| **Rule ID** |RDG013|
| **Fix is breaking or non-breaking** |Non-breaking|
| | Value |
| - | - |
| **Rule ID** | RDG013 |
| **Fix is breaking or non-breaking** | Non-breaking |

## Cause

Expand Down
6 changes: 3 additions & 3 deletions aspnetcore/tutorials/first-mvc-app/adding-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author: wadepickett
description: Part 4 of tutorial series on ASP.NET Core MVC.
monikerRange: '>= aspnetcore-3.1'
ms.author: wpickett
ms.date: 03/02/2025
ms.date: 03/28/2025
uid: tutorials/first-mvc-app/adding-model
---

Expand Down Expand Up @@ -352,15 +352,15 @@ Examine the generated `Details` method in the `Controllers/MoviesController.cs`

[!code-csharp[](~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie90/Controllers/MoviesController.cs?name=snippet_Details)]

The `id` parameter is generally passed as route data. For example, `https://localhost:5001/movies/details/1` sets:
The `id` parameter is generally passed as route data. For example, `https://localhost:{PORT}/movies/details/1` sets:

* The controller to the `movies` controller, the first URL segment.
* The action to `details`, the second URL segment.
* The `id` to 1, the last URL segment.

The `id` can be passed in with a query string, as in the following example:

`https://localhost:5001/movies/details?id=1`
`https://localhost:{PORT}/movies/details?id=1`

The `id` parameter is defined as a [nullable type](/dotnet/csharp/programming-guide/nullable-types/index) (`int?`) in cases when the `id` value isn't provided.

Expand Down
Loading