From 70781c2027deb5c1511edf9ed8918d845e6a63c7 Mon Sep 17 00:00:00 2001 From: Scott Addie <10702007+scottaddie@users.noreply.github.com> Date: Tue, 6 Nov 2018 14:14:19 -0600 Subject: [PATCH] c# --> csharp --- aspnetcore/mvc/controllers/application-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/mvc/controllers/application-model.md b/aspnetcore/mvc/controllers/application-model.md index d2b3a3d9e2..76651e7108 100644 --- a/aspnetcore/mvc/controllers/application-model.md +++ b/aspnetcore/mvc/controllers/application-model.md @@ -163,7 +163,7 @@ ASP.NET Core MVC uses a different set of conventions from ASP.NET Web API 2. Usi To use the Web API Compatibility Shim, you need to add the package to your project and then add the conventions to MVC by calling `AddWebApiConventions` in `Startup`: -```c# +```csharp services.AddMvc().AddWebApiConventions(); ```