From 32f7044ab431779f546d3c32e081df7cf9ea2ec3 Mon Sep 17 00:00:00 2001 From: Carl-Hugo Marcotte Date: Mon, 28 Jan 2019 16:37:45 -0500 Subject: [PATCH] Update conventions.md (#10666) --- aspnetcore/web-api/advanced/conventions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/web-api/advanced/conventions.md b/aspnetcore/web-api/advanced/conventions.md index 4f1e235a97..69faebcbd8 100644 --- a/aspnetcore/web-api/advanced/conventions.md +++ b/aspnetcore/web-api/advanced/conventions.md @@ -52,7 +52,7 @@ For more information on `[ProducesDefaultResponseType]`, see [Default Response]( [!code-csharp[](conventions/sample/Controllers/ContactsConventionController.cs?name=snippet_ApiConventionTypeAttribute&highlight=2)] -1. `Microsoft.AspNetCore.Mvc.ApiConventionTypeAttribute` applied to an assembly — Applies the specified convention type to all controllers in the current assembly. As a recommendation, apply assembly-level attributes to the `Startup` class. +1. `Microsoft.AspNetCore.Mvc.ApiConventionTypeAttribute` applied to an assembly — Applies the specified convention type to all controllers in the current assembly. As a recommendation, apply assembly-level attributes in the *Startup.cs* file. In the following example, the default set of conventions is applied to all controllers in the assembly: