B
Bree
I am looking for a *very simple* (newbie C# person here) of how to use
a PropertyBag. I have a method that calls a web service to retrieve
customer data, based on a customer ID. I want to be able to persist
this data in memory, in order to be able to reduce the number of trips
out to the sevice. For examle, if the data for CustomerID 49 is has
already been retrieved, I don't want to call the service to retrieve it
an additional time. I need a way to check this.
Someone told me that I should persist this data in a PropertyBag, but I
haven't bee able to find an example of anyting even remotely close to
what I want to do.
Is there a better / simpler way of doing this. Could I use, for
example, a hashtable?
Thanks!
a PropertyBag. I have a method that calls a web service to retrieve
customer data, based on a customer ID. I want to be able to persist
this data in memory, in order to be able to reduce the number of trips
out to the sevice. For examle, if the data for CustomerID 49 is has
already been retrieved, I don't want to call the service to retrieve it
an additional time. I need a way to check this.
Someone told me that I should persist this data in a PropertyBag, but I
haven't bee able to find an example of anyting even remotely close to
what I want to do.
Is there a better / simpler way of doing this. Could I use, for
example, a hashtable?
Thanks!