From 5bc8ba8b55470f72d5d0c803db2ac4acde8ecd92 Mon Sep 17 00:00:00 2001 From: Scott Addie Date: Wed, 9 May 2018 13:42:41 -0500 Subject: [PATCH] Link to ApiControllerAttribute API ref (#6313) --- aspnetcore/web-api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/web-api/index.md b/aspnetcore/web-api/index.md index e21a51706e..2c97bdfdc2 100644 --- a/aspnetcore/web-api/index.md +++ b/aspnetcore/web-api/index.md @@ -35,7 +35,7 @@ The `ControllerBase` class provides access to numerous properties and methods. I ::: moniker range=">= aspnetcore-2.1" ## Annotate class with ApiControllerAttribute -ASP.NET Core 2.1 introduces the `[ApiController]` attribute to denote a web API controller class. For example: +ASP.NET Core 2.1 introduces the [[ApiController]](/dotnet/api/microsoft.aspnetcore.mvc.apicontrollerattribute) attribute to denote a web API controller class. For example: [!code-csharp[](../web-api/define-controller/samples/WebApiSample.Api/Controllers/ProductsController.cs?name=snippet_ControllerSignature&highlight=2)]