From d979e409f58745f41ffff24bf48ee74a8432a248 Mon Sep 17 00:00:00 2001 From: Scott Addie Date: Thu, 26 Jul 2018 14:29:52 -0500 Subject: [PATCH] Change 2.1 ActionResult heading to generic type form --- aspnetcore/release-notes/aspnetcore-2.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/release-notes/aspnetcore-2.1.md b/aspnetcore/release-notes/aspnetcore-2.1.md index 1fa65c0259..7ab7d4f3d1 100644 --- a/aspnetcore/release-notes/aspnetcore-2.1.md +++ b/aspnetcore/release-notes/aspnetcore-2.1.md @@ -108,7 +108,7 @@ public class BasicTests For more information, see the [Integration tests](xref:test/integration-tests) topic. -## [ApiController], ActionResult +## [ApiController], ActionResult\ ASP.NET Core 2.1 adds new programming conventions that make it easier to build clean and descriptive web APIs. `ActionResult` is a new type added to allow an app to return either a response type or any other action result (similar to IActionResult), while still indicating the response type. The `[ApiController]` attribute has also been added as the way to opt in to Web API-specific conventions and behaviors.