diff --git a/samples/MVCSample/MVCSample.Bootstrap3.csproj b/samples/MVCSample/MVCSample.Bootstrap3.csproj index 46c001b..028bcde 100644 --- a/samples/MVCSample/MVCSample.Bootstrap3.csproj +++ b/samples/MVCSample/MVCSample.Bootstrap3.csproj @@ -1,15 +1,10 @@  - netcoreapp2.2 + netcoreapp3.1 InProcess - - - - - - + diff --git a/samples/MVCSample/Startup.cs b/samples/MVCSample/Startup.cs index 6d4dcea..ef292b8 100644 --- a/samples/MVCSample/Startup.cs +++ b/samples/MVCSample/Startup.cs @@ -17,7 +17,7 @@ public Startup(IConfiguration configuration) // 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(options => options.EnableEndpointRouting = false); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.