Bolt.RequestBus : How to validate request – Part 2

This is second part of the series. If you don’t know what Bolt.RequestBus is please read the previous post. In this part I am trying to show how you can add validation for your request. Continue reading

Advertisements

Multilevel Caching using Bolt.Cache – InMemory and Redis

Caching is a very important part of scaling your website. In this blog post I am trying to show how you can implement a two level caching. One Redis for distributed caching and the other one is inmemory caching. So the idea is first you look whether data exists in memory. If not then check whether the data exists in Redis. If not then load from your Sql Data source. And then save this in memory and Redis. So for next request we can serve the data from memory, if not from Redis. Continue reading