You can use Scrutor , Scrutor is an open source library that adds assembly scanning capabilities to the ASP.Net Core DI container .