Caching

Feb 4, 2015 at 10:39 PM
Your framework is very cool and thanks for answer me. I have a last question. If i want use caching with redis or memcache. Do you have a solution and example for that ?

I don't want to call always the db.
Coordinator
Feb 8, 2015 at 9:30 PM
I've not got example with either of those but if you want to add any caching you could place your caching code in a IQueryInterceptor derived class and add it you interceptors on your main repository or query repository class. See the northwind.Web.app example of interception. I'll update this answer in a bit to give you a better example Le when I'm not typing on a 4 inch phone ;)