A Simple Caching Scheme for Web API using Dependency Injection

added by DotNetKicks
1/9/2017 3:06:58 PM

4 Kicks, 379 Views

I use Dependency Injection (DI) quite a bit in my ASP.NET projects, particularly in Web API and MVC web applications. Recently, I had a need to implement a caching layer in one of my MVC apps, and such a layer would be best used if it could be injected