Common mistake. Check if services.Build is called after all registrations...
services.Build
Maybe shouldn't be the answer to the question but some people probably check this point when redirected somehow here