Why do we need NamedCache and CreatePolicy methods in the Scale Out?

#1
Hi Sir,
My Question: Why we need to use NamedCache method in the WPF project? and also CreatePolicy constuctor where do we used?
Thanks
Naveen
 

admin

Administrator
#1
NamedCache class encapsulates high-level interactions with objects stored in a named cache within the data grid. CreatePolicy is used to set the properties of objects that are being added to the cache. You can associate these properties on an object by object basis as well as on a named cache level. Please review the sample code that is provided in the StateServer samples folder.
 
Top