Connected to the links: one

using System.Runtime.Serialization.Json; 

I stopped issuing an error, but:

 DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Bsmessage)); 

Still not happy with something: 2

How to fix?

    1 answer 1

    The DataContractJsonSerializer type is in the System.Runtime.Serialization assembly, not in the System.ServiceModel.Web .

    You have connected the wrong link (the wrong Reference) in the first screenshot.