diff --git a/src/Services/Catalog/Catalog.API/appsettings.Development.json b/src/Services/Catalog/Catalog.API/appsettings.Development.json index 95e5cf490..6e2811bf0 100644 --- a/src/Services/Catalog/Catalog.API/appsettings.Development.json +++ b/src/Services/Catalog/Catalog.API/appsettings.Development.json @@ -1,4 +1,6 @@ { - "ConnectionString": "Server=tcp:127.0.0.1,5433;Initial Catalog=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word", + "ConnectionStrings": { + "CatalogDB": "Server=tcp:127.0.0.1,5433;Initial Catalog=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word;Encrypt=false" + }, "PicBaseUrl": "http://localhost:5222/api/v1/catalog/items/[0]/pic/" } \ No newline at end of file diff --git a/src/Services/Identity/Identity.API/Identity.API.csproj b/src/Services/Identity/Identity.API/Identity.API.csproj index ee587a6bf..91d74a376 100644 --- a/src/Services/Identity/Identity.API/Identity.API.csproj +++ b/src/Services/Identity/Identity.API/Identity.API.csproj @@ -49,6 +49,14 @@ + + + + PreserveNewest + true + PreserveNewest + + diff --git a/src/Services/Identity/Identity.API/SeedData.cs b/src/Services/Identity/Identity.API/SeedData.cs index b8f5baa5b..fa8365f9e 100644 --- a/src/Services/Identity/Identity.API/SeedData.cs +++ b/src/Services/Identity/Identity.API/SeedData.cs @@ -2,7 +2,7 @@ public class SeedData { - public static async Task EnsureSeedData(IServiceScope scope, IConfiguration configuration, Microsoft.Extensions.Logging.ILogger logger) + public static async Task EnsureSeedData(IServiceScope scope, IConfiguration configuration, ILogger logger) { var retryPolicy = CreateRetryPolicy(configuration, logger); var context = scope.ServiceProvider.GetRequiredService(); diff --git a/src/Services/Identity/Identity.API/appsettings.Development.json b/src/Services/Identity/Identity.API/appsettings.Development.json new file mode 100644 index 000000000..7b119bdf1 --- /dev/null +++ b/src/Services/Identity/Identity.API/appsettings.Development.json @@ -0,0 +1,5 @@ +{ + "ConnectionStrings": { + "IdentityDB": "Server=tcp:127.0.0.1,5433;Initial Catalog=Microsoft.eShopOnContainers.Services.IdentityDb;User Id=sa;Password=Pass@word;Encrypt=false" + } +} \ No newline at end of file diff --git a/src/Services/Ordering/Ordering.API/Ordering.API.csproj b/src/Services/Ordering/Ordering.API/Ordering.API.csproj index a09fb61fe..0ba10cd65 100644 --- a/src/Services/Ordering/Ordering.API/Ordering.API.csproj +++ b/src/Services/Ordering/Ordering.API/Ordering.API.csproj @@ -44,4 +44,13 @@ + + + + PreserveNewest + true + PreserveNewest + + + \ No newline at end of file diff --git a/src/Services/Ordering/Ordering.API/appsettings.Development.json b/src/Services/Ordering/Ordering.API/appsettings.Development.json new file mode 100644 index 000000000..af4699517 --- /dev/null +++ b/src/Services/Ordering/Ordering.API/appsettings.Development.json @@ -0,0 +1,5 @@ +{ + "ConnectionStrings": { + "OrderingDB": "Server=tcp:127.0.0.1,5433;Initial Catalog=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;Encrypt=false" + } +} \ No newline at end of file diff --git a/src/Services/Ordering/Ordering.BackgroundTasks/appsettings.Development.json b/src/Services/Ordering/Ordering.BackgroundTasks/appsettings.Development.json index e203e9407..19fe83b47 100644 --- a/src/Services/Ordering/Ordering.BackgroundTasks/appsettings.Development.json +++ b/src/Services/Ordering/Ordering.BackgroundTasks/appsettings.Development.json @@ -5,5 +5,8 @@ "System": "Information", "Microsoft": "Information" } + }, + "ConnectionStrings": { + "OrderingDB": "Server=tcp:127.0.0.1,5433;Initial Catalog=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;Encrypt=false" } } diff --git a/src/Web/WebSPA/web.config b/src/Web/WebSPA/web.config index 5e31866e3..d0433a765 100644 --- a/src/Web/WebSPA/web.config +++ b/src/Web/WebSPA/web.config @@ -7,7 +7,7 @@ - + diff --git a/src/Web/WebhookClient/Properties/launchSettings.json b/src/Web/WebhookClient/Properties/launchSettings.json index 4e381e26d..09ce326c2 100644 --- a/src/Web/WebhookClient/Properties/launchSettings.json +++ b/src/Web/WebhookClient/Properties/launchSettings.json @@ -21,7 +21,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:5001;http://localhost:5000" + "applicationUrl": "http://localhost:5228" }, "Docker": { "commandName": "Docker", diff --git a/src/Web/WebhookClient/appsettings.json b/src/Web/WebhookClient/appsettings.json index 6a845cfd4..bb8905744 100644 --- a/src/Web/WebhookClient/appsettings.json +++ b/src/Web/WebhookClient/appsettings.json @@ -4,5 +4,7 @@ "Default": "Information" } }, + "IdentityUrl": "http://localhost:5223", + "CallBackUrl": "http://localhost:5228/", "AllowedHosts": "*" }