Optimizing Smart Client Performance
Posted
by Burt
on Stack Overflow
See other posts from Stack Overflow
or by Burt
Published on 2010-03-14T01:04:00Z
Indexed on
2010/03/14
1:05 UTC
Read the original article
Hit count: 347
I have a smart client (WPF) that makes calls to the server va services (WCF). The screen I am working on holds a list of objects that it loads when the constructor is called. I am able to add, edit and delete records in the list.
Typically what I am doing is after every add or delete I am reloading the entire model from the service again, there are a number off reasons for this including the fact that the data may have changed on the server between calls.
This approach has proved to be a big hit on perfomance because I am loading everything sending the list up and down the wire on Add and Edit.
What other options are open to me, should I only be send the required information to the server and how would I go about not reloading all the data again ever time an add or delete is performed?
© Stack Overflow or respective owner