I have some client-server application. And as one of its part, I need to implement a paginal approach on client side. I am making data footprint from db (I'm using MongoDB with 10gen's driver) on server-side and then give part of the footprint on client's request.
I have a problem with storing the footprint. I can't store it on server as local variable, because it simply don't save any data after completing method. I figured out that the footprint data can be stored as a MongoDB cache. But I don't know how it works.
Googling didn't made any progress for me. So can anybody explain me how to implement this MongoDB caching in C#?