CC#•Created by Cotton on 7/30/2023 in #help ❔ ASP.NET Core Environment Variables in Dependency Injection
Yeah, I ended up with something like this
builder.Services.Configure<XsdPackageServiceOptions>(builder.Configuration.GetSection("XsdPackageServiceOptions"));
Which is then defined in appsettings.Development.json