From 94a83c64f6195b3480870cab1e378117338e234e Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Wed, 4 Dec 2019 18:56:30 +0100 Subject: [PATCH] upgrade to netcoreapp3.0 --- Startup.cs | 4 +++- webmusic.csproj | 11 +---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Startup.cs b/Startup.cs index f653d2c..39af297 100644 --- a/Startup.cs +++ b/Startup.cs @@ -33,7 +33,9 @@ namespace webmusic }); - services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2); + services.Configure(options => { options.EnableEndpointRouting = false; }); + + services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Latest); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. diff --git a/webmusic.csproj b/webmusic.csproj index df393e6..2a7ecba 100644 --- a/webmusic.csproj +++ b/webmusic.csproj @@ -1,20 +1,11 @@  - netcoreapp2.2 + netcoreapp3.0 full - - - - - - - - -