diff --git a/Directory.Build.props b/Directory.Build.props index 539518a..bbaee8f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,5 @@ - + Jean Gatto (@jeangatto) jean_gatto@hotmail.com diff --git a/Directory.Packages.props b/Directory.Packages.props index 01891ab..8b555ac 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,5 +1,5 @@ - + true false diff --git a/src/Shop.PublicApi/Program.cs b/src/Shop.PublicApi/Program.cs index 01593fd..1591bdb 100644 --- a/src/Shop.PublicApi/Program.cs +++ b/src/Shop.PublicApi/Program.cs @@ -46,6 +46,8 @@ builder.Services }) .AddSwagger(); +builder.Services.AddDataProtection(); + builder.Services.AddControllers() .ConfigureApiBehaviorOptions(behaviorOptions => { diff --git a/src/Shop.PublicApi/appsettings.Development.json b/src/Shop.PublicApi/appsettings.Development.json index 79982c8..6b31eff 100644 --- a/src/Shop.PublicApi/appsettings.Development.json +++ b/src/Shop.PublicApi/appsettings.Development.json @@ -2,8 +2,11 @@ "Logging": { "LogLevel": { "Default": "Information", + "Microsoft": "Warning", "Microsoft.AspNetCore": "Warning", - "Microsoft.Hosting.Lifetime": "Information" + "Microsoft.Hosting.Lifetime": "Information", + "Microsoft.EntityFrameworkCore": "Information", + "Microsoft.AspNetCore.DataProtection": "Information" } }, "ConnectionStrings": { diff --git a/src/Shop.PublicApi/appsettings.Docker.json b/src/Shop.PublicApi/appsettings.Docker.json index 0f94703..3c89ddd 100644 --- a/src/Shop.PublicApi/appsettings.Docker.json +++ b/src/Shop.PublicApi/appsettings.Docker.json @@ -2,8 +2,11 @@ "Logging": { "LogLevel": { "Default": "Information", + "Microsoft": "Warning", "Microsoft.AspNetCore": "Warning", - "Microsoft.Hosting.Lifetime": "Information" + "Microsoft.Hosting.Lifetime": "Information", + "Microsoft.EntityFrameworkCore": "Information", + "Microsoft.AspNetCore.DataProtection": "Information" } }, "ConnectionStrings": {