Lesson 34. Demo - Implementing HATEOAS Support After POSTing)
Issue : change Accept Media type to application/xml
AddXmlDataContractSerializerFormatters middleware fails while serializing generated response for Dictionary<string, object>
In our case when we add links to Dictionary<string, object> for media-type *Accept: application/xml.
here are my dictionary's keys and values
Key1 value1
someKey1 someValue
key2 value2
someKey2 ICollection<TSource>
Serialization of this dictionarty response fails for media-type *Accept: application/xml.