문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top