C#C
C#3y ago
Caedrius

Services.Configure<T> stopped working?

My appsettings.json file is not missing the section
{
  "ConnectionStrings": {
    "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=Plutus;Trusted_Connection=True;MultipleActiveResultSets=true"
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "Rabobank": {
    "BaseUrl": "https://oauth-sandbox.rabobank.nl/openapi/sandbox",
    "RedirectUrl": "https://localhost:44391/rabobank/oauth2/callback"
  }
}
Was this page helpful?