[Mono-list] Caching data

Antonello Provenzano antonello at deveel.com
Mon Jun 11 06:41:09 EDT 2007


A solution, known just to few skilled developers, is to use memcached
server with a C# client.
Make a research on Google about this two issues and you will find
"exactly" what are you looking for. Another solution is to write your
own cache manager to store data into the client filesystem and check
for expiration and evictions average: it depends on the context you
want to use the cache for.


On 6/11/07, Andrus <kobruleht2 at hot.ee> wrote:
> I'm creating C# WinForms client-server database application in MONO.
> This application reads data from PostgreSQL server using npgsql Dataadapter
> and DataReader classes and stores data mostly in Datasets and sometimes in
> business object properties.
> A lot of lookup tables (payment terms, currency list etc) are static.
> Currently application reads them from server when new window is opened over
> TCP connection
> This makes application slow.
> How to cache data in client side ?
> Where to find caching module for .NET application ?
> It it reasonable to use .NET 2 Web Cache object for this ?
> MS Web Cache object doc says that it is designed only for ASP .NET
> application.
> Is it reasonable to use it in WinForms application or are there better
> caching object available?
> I cannot use MS Caching application block since my application needs to run
> in
> Linux also.
> Andrus.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list