This question is locked. New answers and comments are not allowed.
Hi, I have a OpenAccessDomain Model and OpenAccessDomainService for WCF Ria which works fine in my silverlight app. I wanted to try out the new kendo web stuff and first thought I could just enable the odata endpoint for my Ria Service which worked as an odata, but discovered this is no good for kendo as that puts parameters on the url and wcf ria does not support this. So I thought I would enable the json endpoint but when this is enabled I get the following error and it even stops my silverlight app from working as that gives this error too.
Type 'Telerik.OpenAccess.OpenAccessContext' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.
As soon as i remove the json endpoint my silverlight app starts working again. So how can I expose my OpenAccess WCF RIA service via json without getting this error.
Thanks
Type 'Telerik.OpenAccess.OpenAccessContext' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.
As soon as i remove the json endpoint my silverlight app starts working again. So how can I expose my OpenAccess WCF RIA service via json without getting this error.
Thanks