![The dangers and gotchas of using scoped services in OptionsBuilder The dangers and gotchas of using scoped services in OptionsBuilder](https://www.sharepointeurope.com/wp-content/uploads/2023/03/The-dangers-and-gotchas-of-using-scoped-services-in-OptionsBuilder.jpg)
The dangers and gotchas of using scoped services in OptionsBuilder
Blog PostsThis post is an update of a post I wrote several years ago, about using scoped services with the IOptions pattern. Since that post, an easier API for registering IOptions has been added, OptionsBuilder<T>, but you still need to be aware of many of the same options. In this post I look at some of the problems you can run into… READ MORE