Update index.md (#8975)

pull/8980/head
EthanR 2018-10-11 07:11:33 -04:00 committed by Luke Latham
parent caa86b9002
commit 2c7bc49ade
1 changed files with 1 additions and 1 deletions

View File

@ -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`.