Type of issue
Code doesn't work
Description
In most parts of Options pattern, it uses builder.Configuration, e.g. builder.Configuration.GetSection.
In 4 places, it uses just Configuration.GetSection (without the builder.), which does not work.
Page URL
https://learn.microsoft.com/en-us/dotnet/core/extensions/options
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/extensions/options.md
Document Version Independent Id
00449cdc-b8fc-a9ff-3f20-0ef0994db354
Platform Id
fa207b6b-9c25-033b-aa53-fead35cb2436
Article author
@gewarren
Metadata
- ID: 433988ea-fda9-aa83-f6ee-221a5521a422
- PlatformId: fa207b6b-9c25-033b-aa53-fead35cb2436
- Service: dotnet-fundamentals
Related Issues
Type of issue
Code doesn't work
Description
In most parts of Options pattern, it uses
builder.Configuration, e.g.builder.Configuration.GetSection.In 4 places, it uses just
Configuration.GetSection(without thebuilder.), which does not work.Page URL
https://learn.microsoft.com/en-us/dotnet/core/extensions/options
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/extensions/options.md
Document Version Independent Id
00449cdc-b8fc-a9ff-3f20-0ef0994db354
Platform Id
fa207b6b-9c25-033b-aa53-fead35cb2436
Article author
@gewarren
Metadata
Related Issues