Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to implement caching
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01234794
Message ID:
01235039
Vues:
13
Andrus,

>I'm looking a way to create fast C# Winforms database application.
>
>I need that all data read from database is stored in memory cache.
>Every time when object is required cache should be examined first.
>Database access should be performed only if object does not exist in cache.
>
>I looked into sample business objects and found code like
>
>public CustomerEntity GetCustomerByID(string customerID) {
> return this.GetEntity("CustomersSelectByPK",
> this.CreateParameter("@CustomerID", customerID));
>}
>
>In this case every retrieval of customer causes database access over internet which makes application very slow.

Are you using the MM .NET Web Service data access class?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform