From f1936e3838d88b31dd4ea39adf5fc3751325bc6a Mon Sep 17 00:00:00 2001 From: Tim Sherer <28902327+TimShererWithAquent@users.noreply.github.com> Date: Fri, 30 Jan 2026 12:02:54 -0800 Subject: [PATCH] Repair broken links (#36721) * Fix broken links. * Update webapi.md with sample code link Linking to migration directory which contains >= .NET 6 samples for web api. --------- Co-authored-by: Wade Pickett --- aspnetcore/migration/fx-to-core/areas/webapi.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aspnetcore/migration/fx-to-core/areas/webapi.md b/aspnetcore/migration/fx-to-core/areas/webapi.md index a66690162bc8..a9aa3b20a40c 100644 --- a/aspnetcore/migration/fx-to-core/areas/webapi.md +++ b/aspnetcore/migration/fx-to-core/areas/webapi.md @@ -176,7 +176,7 @@ The migrated `ProductsController` contains the following highlighted attributes: Run the migrated project, and browse to `/api/products`. For example: https://localhost:``/api/products. A full list of three products appears. Browse to `/api/products/1`. The first product appears. -[View or download sample code](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/migration/webapi/sample/) ([how to download](xref:fundamentals/index#how-to-download-a-sample)) +[View or download sample code](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/migration/) ([how to download](xref:fundamentals/index#how-to-download-a-sample)) ## Additional resources @@ -189,8 +189,6 @@ Run the migrated project, and browse to `/api/products`. For example: https://l :::moniker range="< aspnetcore-6.0" This article demonstrates the steps required to migrate from ASP.NET 4.x Web API to ASP.NET Core MVC. -[View or download sample code](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/migration/webapi/sample) ([how to download](xref:fundamentals/index#how-to-download-a-sample)) - ## Prerequisites [!INCLUDE [prerequisites](../../../includes/net-core-prereqs-vs-3.1.md)]