Small tweaks

- Fix the payment profile's launch profile
- Added Services.Common to global usings
This commit is contained in:
David Fowler 2023-05-05 00:20:37 -07:00 committed by Reuben Bond
parent c41cd3830c
commit 2a4a6abf9b
3 changed files with 4 additions and 22 deletions

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;

View File

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

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"
} }
} }
} }