Using Redis with ASP.NET Web API

added by pwalat
3/26/2013 10:27:30 AM

11 Kicks, 592 Views

In this article I am going to show how to use Redis as a data store in a ASP.NET Web API application. I will implement a basic scenario that leverages ServiceStack.Redis library and its strongly typed Redis client, show how to model and store one-to-many relationships and how to use Web API dependency injection capabilities along with Autofac to inject repositories into controllers.