← Back
Milan Jovanovic July 20, 2025 36s

Scoped in Singleton? Here’s the SAFE Way to Do It

Summary

The transcript discusses the proper method for obtaining a singleton service from the root service provider in a software development context, focusing on creating a custom service scope using the service scope factory. By utilizing the create scope method, developers can resolve scoped services through dependency injection without encountering exceptions. The key recommendation is to use the scoped service provider to obtain and work with services, with additional resources available in a linked video for further learning about implementation in middleware.

View original episode ↗