Browse Source

Small tweaks

- Fix the payment profile's launch profile
- Added Services.Common to global usings
davidfowl/common-services
David Fowler 1 year ago
committed by Reuben Bond
parent
commit
2a4a6abf9b
3 changed files with 4 additions and 22 deletions
  1. +1
    -0
      src/Services/Catalog/Catalog.API/GlobalUsings.cs
  2. +1
    -3
      src/Services/Catalog/Catalog.API/Program.cs
  3. +2
    -19
      src/Services/Payment/Payment.API/Properties/launchSettings.json

+ 1
- 0
src/Services/Catalog/Catalog.API/GlobalUsings.cs View File

@ -40,3 +40,4 @@ global using Microsoft.Extensions.Logging;
global using Microsoft.Extensions.Options; global using Microsoft.Extensions.Options;
global using Polly; global using Polly;
global using Polly.Retry; global using Polly.Retry;
global using Services.Common;

+ 1
- 3
src/Services/Catalog/Catalog.API/Program.cs View File

@ -1,6 +1,4 @@
using Services.Common;
var builder = WebApplication.CreateBuilder(args);
var builder = WebApplication.CreateBuilder(args);
builder.AddServiceDefaults(); builder.AddServiceDefaults();


+ 2
- 19
src/Services/Payment/Payment.API/Properties/launchSettings.json View File

@ -1,29 +1,12 @@
{ {
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:63336/",
"sslPort": 0
}
},
"profiles": { "profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "api/values",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Payment.API": { "Payment.API": {
"commandName": "Project", "commandName": "Project",
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "api/values",
"applicationUrl": "http://localhost:5226",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:3331"
}
} }
} }
} }

Loading…
Cancel
Save