Using Visual Studio 2017, I just created a simple API project as shown below. And in the Startup.cs file I have this code.
public void ConfigureServices(IServiceCollection services) {
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
}
Can someone please throw some light as to what is means? Do we need to keep this code?
I think MS should put some comments to indicate what such code does.
