From 2c7bc49adea3dbee4482e9b429505fd31920c320 Mon Sep 17 00:00:00 2001 From: EthanR Date: Thu, 11 Oct 2018 07:11:33 -0400 Subject: [PATCH] Update index.md (#8975) --- aspnetcore/razor-pages/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/razor-pages/index.md b/aspnetcore/razor-pages/index.md index 8f144355d9..b284034cd2 100644 --- a/aspnetcore/razor-pages/index.md +++ b/aspnetcore/razor-pages/index.md @@ -260,7 +260,7 @@ services.AddMvc() .SetCompatibilityVersion(Microsoft.AspNetCore.Mvc.CompatibilityVersion.Version_2_1); ``` -The default templates generate the `SetCompatibilityVersion` call in In ASP.NET Core 2.1 and 2.2. +The default templates generate the `SetCompatibilityVersion` call in ASP.NET Core 2.1 and 2.2. `SetCompatibilityVersion` effectively sets the Razor Pages option `AllowMappingHeadRequestsToGetHandler` to `true`.