We have a stateful service that saves data in a ReliableDictionary
. We noticed a small amount of data missing from this service today.
We had a recent code update which changed the namespace and assembly of one of the models that was stored in the dictionary, however the data contract itself was unchanged.
Before:
namespace MainProject.StatefulService.Models
{
[DataContract]
public class ColorElement
{
[DataMember(Name = "Color")]
private readonly Color color;
// Shortened for clarity.
}
}
After:
namespace MainProject.Models
{
[DataContract]
public class ColorElement
{
[DataMember(Name = "Color")]
private readonly Color color;
// Shortened for clarity.
}
}
Is there any way that changing the assembly/namespace of a model could cause problems in the reliable dictionary?