Avoiding Circular Reference for Entity in JSON Serialization One problem that I was facing yesterday while working on an ASP.NET MVC application was a JSON serialization issue. The problem was a circular reference caused by the DataContractJsonSerializer because of relations between the entity and other entities. In this post I’ll show you how you can use a simple workaround in order to avoid the problem. The JSON Serialization Error Returning the output of the JSON method in an...
Building a Host for ADO.NET Data Service After you built your data service you will probably want to deploy it. In the following post I’m going to explain how you can build a simple host for an ADO.NET data service without the use of svc file. Data Service Hosting The ADO.NET data services are not autonomous server entities. They live in the context of their service host such as WCF or ASP.NET . The data service host is handling the direct interactions with the network and supports caching, scalability...