Showing posts with label Piotrwalat. Show all posts
Showing posts with label Piotrwalat. Show all posts

Wednesday, 10 April 2013

Using Redis with ASP.NET Web API at piotrwalat.net

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.

Tuesday, 2 April 2013

HMAC authentication in ASP.NET Web API

In this article I will explain the concepts behind HMAC authentication and will show how to write an example implementation for ASP.NET Web API using message handlers. The project will include both server and client side (using Web API's HttpClient) bits.