-
.NET Client Data Caching
Hi All.
I am developing an application in vb.net. There is one form in my application which loads CustomerId and CustomerName fields from the customer table in my sql server 2000 database. The database is stored on different physical computer located in other area far away from my system and I m connecting to remote system using dial-up connection or might even use vpn connection in future to connect my system with remote system. Now whenever I m opening this form, its taking long time to load the CustomerId and CustomerName list from the remote database and everyday this list goes on increasing coz new customers are added daily.
What my concern is how to cache this CustomerId and CustomerName data locally on my system so that I dont need to read data every time from remote computer? Also how to check whether the data I m caching on my computer is not changed on the remote computer by someone. I mean how to create this kind of applications for commercial purpose?
Please help me out.
Thanks.
-
Well u can make a simple database [or maybe very simple file] that you will store in it your retrived data from the server ... in the other side make a small logger that will log events done from time1 to now .. when you connect u just need to read this log from your last visited time to now see if there is changes : update recorde Or new added clients : get their data only !
in this point don't forget to flag your last visit time in the log to start from it next time .
Similar Threads
-
By Core Lab in forum dotnet.announcements
Replies: 0
Last Post: 10-01-2003, 11:39 AM
-
By Phil Weber in forum .NET
Replies: 632
Last Post: 10-01-2003, 12:00 AM
-
Replies: 4
Last Post: 04-03-2003, 11:54 AM
-
By Leon Katsnelson in forum Database
Replies: 0
Last Post: 02-28-2003, 08:11 PM
-
By A Spencer in forum XML
Replies: 0
Last Post: 10-11-2001, 08:00 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|