When we need to store any kind of data then we use collection
and can hold all data at run time. The namespace which collection use
is system collection. The only drawback of collection is that when we
retrieve the data from collection we have to implement type casting.
In my application it was an issue because client was encoding the body content.But I was not specifying the encoding or media type. I have specified and resolved the issue as below var content = new StringContent ( postData , Encoding . UTF8 , "application/json" ); httpClient . PostAsync ( uri , content );
Comments
Post a Comment