Use latest compat version in MvcSandbox

This commit is contained in:
Ryan Nowak 2018-03-29 12:49:40 -07:00
parent 4b15ad60b1
commit 96f29c5696
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ namespace MvcSandbox
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc();
services.AddMvc().SetCompatibilityVersion(Microsoft.AspNetCore.Mvc.CompatibilityVersion.Version_2_1);
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.