From 1255dbcdb17f69bc08801d6c0bc8185a0fc0b64d Mon Sep 17 00:00:00 2001 From: Rolf Kristensen Date: Thu, 18 Aug 2022 18:53:00 +0200 Subject: [PATCH] Updated example for ASP.NET Core 6 (Removed UseAuthorization) (#859) --- examples/ASP.NET Core 6/ASP.NET Core 6 NLog Example/Program.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/ASP.NET Core 6/ASP.NET Core 6 NLog Example/Program.cs b/examples/ASP.NET Core 6/ASP.NET Core 6 NLog Example/Program.cs index 776e78d8..feaf90fe 100644 --- a/examples/ASP.NET Core 6/ASP.NET Core 6 NLog Example/Program.cs +++ b/examples/ASP.NET Core 6/ASP.NET Core 6 NLog Example/Program.cs @@ -30,8 +30,6 @@ app.UseRouting(); - app.UseAuthorization(); - app.MapControllerRoute( name: "default", pattern: "{controller=Home}/{action=Index}/{id?}");