Question

I am wondering about how Azure Caching stores data where there are references between objects.

For example consider a structure which contains ObjectA, and ObjectA has ObjectB and ObjectC as properties, and ObjectC also has a property called ObjectB.

If I cache ObjectA, does ObjectB get cached twice - once as a property of ObjectA and once as a property of ObjectC, or does Azure Caching also store the references?

All the best

Était-ce utile?

La solution

Serializers nowadays are pretty smart. There should not be a duplicate or infinite serialization issues with caching of an object that has circular references between child objects.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top