Improving performance when calling webmethods from a service reference

Hi There

I am writing an application that calls webmethods from an service reference.
My problem is that I have to make numerous calls to the same data and some results are very large and take along time to come down from the webservice.

I would like to implement a solution that will allow me to make the data calls only once if possible when the application loads and then work from the data that is loaded in memory.
I am not really sure how to do this so if anybody can point me in the right direction it will be extremmelly appreciated.I just need to get it alot faster

I have attached a image what what the service references look like.
servref.jpg
Stanton_RouxAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

masterpassCommented:
I would like to implement a solution that will allow me to make the data calls only once if possible when the application loads and then work from the data that is loaded in memory >>>>>>>>>.

I think its a bad idea as like you said your data are so heavy that it takes some time to load. When you push every thing to the initial load, the initial load is gonna take the suffer. I t will take more time to load all the data. But still if you want to go with it, you can make use of the Cache .. you can store all the data like

Cache["data"] = your data

If you are worrying about improving performance of your web methods try to pass the data as JSON. It is a very light weight and very efficient.

NB: The initial load should take as much less time as possible as the users will be frustrated if it is going to take more time.
0
Stanton_RouxAuthor Commented:
Thanks for the info.

Unfortunately I do not have control of the output type of the webmethods as these are created by an external vendor.

Do you perhaps know of any websites or source code libraries that I can use to do some research into this
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WCF

From novice to tech pro — start learning today.