From 3db974f473d8bcc1ce33fd63ae16158a6348594f Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Thu, 16 Jul 2026 20:36:17 -0400 Subject: [PATCH 1/2] Adjust code snippet highlight range in documentation Updated code snippet highlight range for IFormFile binding example. --- .../minimal-apis/includes/parameter-binding8-10.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8-10.md b/aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8-10.md index 719a60357370..cd2232acb5ed 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8-10.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8-10.md @@ -80,7 +80,7 @@ The [complete sample code](https://github.com/dotnet/AspNetCore.Docs.Samples/tre Complex form binding is supported using and using the [`[FromForm]`](xref:Microsoft.AspNetCore.Mvc.FromFormAttribute): -:::code language="csharp" source="~/../AspNetCore.Docs.Samples/fundamentals/minimal-apis/samples/IFormFile/Program.cs" id="snippet_1" highlight="20-28"::: +:::code language="csharp" source="~/../AspNetCore.Docs.Samples/fundamentals/minimal-apis/samples/IFormFile/Program.cs" id="snippet_1" highlight="20-35"::: 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). @@ -488,4 +488,4 @@ The preceding code: * Accesses the request body using . * Copies the request body to a local file. -:::moniker-end \ No newline at end of file +:::moniker-end From a2b10ae1afa1976196bfbd69118ce390c7ede944 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Thu, 16 Jul 2026 20:37:49 -0400 Subject: [PATCH 2/2] Update date for parameter-binding.md --- aspnetcore/fundamentals/minimal-apis/parameter-binding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/fundamentals/minimal-apis/parameter-binding.md b/aspnetcore/fundamentals/minimal-apis/parameter-binding.md index 9ebf052eecd2..cd40b944f479 100644 --- a/aspnetcore/fundamentals/minimal-apis/parameter-binding.md +++ b/aspnetcore/fundamentals/minimal-apis/parameter-binding.md @@ -4,7 +4,7 @@ author: wadepickett description: Learn how parameters are populated before invoking minimal route handlers. ms.author: wpickett monikerRange: '>= aspnetcore-7.0' -ms.date: 05/22/2026 +ms.date: 07/16/2026 uid: fundamentals/minimal-apis/parameter-binding ai-usage: ai-assisted ---