Skip to content

Commit 634aa0e

Browse files
authored
Adjust code snippet highlight range (#37346)
1 parent 926a4ac commit 634aa0e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8-10.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The [complete sample code](https://github.com/dotnet/AspNetCore.Docs.Samples/tre
8080

8181
Complex form binding is supported using <xref:Microsoft.AspNetCore.Http.IFormFile> and <xref:Microsoft.AspNetCore.Http.IFormFileCollection> using the [`[FromForm]`](xref:Microsoft.AspNetCore.Mvc.FromFormAttribute):
8282

83-
:::code language="csharp" source="~/../AspNetCore.Docs.Samples/fundamentals/minimal-apis/samples/IFormFile/Program.cs" id="snippet_1" highlight="20-28":::
83+
:::code language="csharp" source="~/../AspNetCore.Docs.Samples/fundamentals/minimal-apis/samples/IFormFile/Program.cs" id="snippet_1" highlight="20-35":::
8484

8585
Parameters bound to the request with `[FromForm]` include an [antiforgery token](xref:security/anti-request-forgery). The antiforgery token is validated when the request is processed. For more information, see [Antiforgery with Minimal APIs](xref:security/anti-request-forgery?view=aspnetcore-8.0&preserve-view=true#afwma).
8686

@@ -488,4 +488,4 @@ The preceding code:
488488
* Accesses the request body using <xref:Microsoft.AspNetCore.Http.HttpRequest.BodyReader?displayProperty=nameWithType>.
489489
* Copies the request body to a local file.
490490

491-
:::moniker-end
491+
:::moniker-end

aspnetcore/fundamentals/minimal-apis/parameter-binding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: wadepickett
44
description: Learn how parameters are populated before invoking minimal route handlers.
55
ms.author: wpickett
66
monikerRange: '>= aspnetcore-7.0'
7-
ms.date: 05/22/2026
7+
ms.date: 07/16/2026
88
uid: fundamentals/minimal-apis/parameter-binding
99
ai-usage: ai-assisted
1010
---

0 commit comments

Comments
 (0)