From b0bfff9d9ffd838eb3708f3e3fe1c832e957182a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 15 Sep 2021 18:30:43 +0200 Subject: [PATCH] Fix conf staging e produzione x DB --- MP.Prog/appsettings.Production.json | 15 +++++++++++++++ MP.Prog/appsettings.Staging.json | 8 ++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 MP.Prog/appsettings.Production.json diff --git a/MP.Prog/appsettings.Production.json b/MP.Prog/appsettings.Production.json new file mode 100644 index 00000000..cf9c62a4 --- /dev/null +++ b/MP.Prog/appsettings.Production.json @@ -0,0 +1,15 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Trace", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" + } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + "DefaultConnection": "Server=localhost\\SQLEXPRESS;Database=MoonPro_PROG;Trusted_Connection=True;MultipleActiveResultSets=true", + "Mp.Prog": "Server=localhost\\SQLEXPRESS;Database=MoonPro_PROG;User ID=sa;Password=keyhammer16;integrated security=False;MultipleActiveResultSets=True;App=MP.PROG;" + } +} \ No newline at end of file diff --git a/MP.Prog/appsettings.Staging.json b/MP.Prog/appsettings.Staging.json index b8aea3ab..65a0fdca 100644 --- a/MP.Prog/appsettings.Staging.json +++ b/MP.Prog/appsettings.Staging.json @@ -1,10 +1,14 @@ { - "DetailedErrors": true, "Logging": { "LogLevel": { - "Default": "Information", + "Default": "Trace", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + "DefaultConnection": "Server=SQL2016DEV;Database=MoonPro_PROG;Trusted_Connection=True;MultipleActiveResultSets=true", + "Mp.Prog": "Server=SQL2016DEV;Database=MoonPro_PROG;User ID=sa;Password=keyhammer16;integrated security=False;MultipleActiveResultSets=True;App=MP.PROG;" } } \ No newline at end of file