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 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 ---