WCF service returning an array of dictionary

后端 未结 3 1325
抹茶落季
抹茶落季 2020-12-09 22:33

I\'ve been trying to use a SilverLight client to call an ASP.Net WCF service that would return a Dictionary. That worked fine when the val

3条回答
  •  一整个雨季
    2020-12-09 23:01

    Try defining a class the has a single property. That property is a Dictionary of string, object.

    Mark the class with DataContract / DataMember. Then define your interface using that class.

提交回复
热议问题