DEV Community

Cover image for Scrutor, automatic dependency injection for ASP.NET Core

Scrutor, automatic dependency injection for ASP.NET Core

Stephany Henrique A on April 11, 2020

If you set up the dependency injection container by hand, you need to know this library for .Net Core. With this lib, you get free to take care of ...
Collapse
 
gregoryagu profile image
Greg Gum

Great article on Scutor! I implemented as suggested, then added an Attribute called InjectAsScoped and then updated by scan code to scan for that attribute and set the lifetime to scoped.