no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Options
Using IOptions with .NET 6 API Endpoints
Here’s a quick example using IOptions with .NET 6 Minimal API endpoints.
Jul 26, 2022
#
dotNet6
,
Minimal API
,
IOptions
,
Options
Passing Configuration Options Into Middleware, Services and Controllers in ASP.NET Core 3.1
Full source code here. I recently hit a problem where I needed to reload configuration settings as they changed, fortunately, this is relatively straightforward when using the IOptionsMonitor, in .NET Core.
Dec 1, 2019
#
dotNet Core 3.1
,
AspNet
,
Dependency Injection
,
IOptionsMonitor
,
Middleware
,
Options
,
WebApi
Cite
×