Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top