Cannot find DataContractJsonSerializer from an Asp.Net Mvc application

前端 未结 2 647
夕颜
夕颜 2021-02-08 12:13

I can\'t get access to the DataContractJsonSerializer method from System.Runtime.Serialization.Json

If I do:

using System.Runti         


        
2条回答
  •  难免孤独
    2021-02-08 12:53

    Make sure you've referenced the DLL where this type lives: System.ServiceModel.Web.dll

提交回复
热议问题