One issue with dependency injection is injecting strings such as connection strings or configuration variables. If you use Dapper or straight ADO.NET, you have likely run into this. Fortunately, there is a pattern to use that is simple and works with every container.