diff --git a/src/WebApi/appsettings.Development.json b/src/WebApi/appsettings.Development.json index 17d39174..9c3f7079 100644 --- a/src/WebApi/appsettings.Development.json +++ b/src/WebApi/appsettings.Development.json @@ -5,7 +5,11 @@ "Microsoft.AspNetCore": "Warning" } }, + // NOTE: If any of your connection strings real passwords, you should delete them and put them in the user secrets file instead. "ConnectionStrings": { - "DefaultConnection": "<< you can also set this with dotnet user-secrets >>" + // Local DB + "DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=CleanArchitecture;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True" + // Docker DB + //"DefaultConnection": "Server=localhost,1433;Initial Catalog=CleanArchitecture;Persist Security Info=False;User ID=sa;Password=yourStrong(!)Password;MultipleActiveResultSets=True;TrustServerCertificate=True;Connection Timeout=30;" } } diff --git a/src/WebApi/appsettings.json b/src/WebApi/appsettings.json index 1617e16e..ec04bc12 100644 --- a/src/WebApi/appsettings.json +++ b/src/WebApi/appsettings.json @@ -5,8 +5,5 @@ "Microsoft.AspNetCore": "Warning" } }, - "ConnectionStrings": { - "DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=CleanArchitecture;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True" - }, "AllowedHosts": "*" -} +} \ No newline at end of file