How do i get ASP.Net Web API to return JSON
In my earlier blog, we have seen How to create a Web API? In this blog, we will see about how to return JSON data instead of XML in Web API.ASP.Net Web API returns XML by default. But we can change so that it should return JSON instead of XML. To do this open “WebApiConfig.cs” file … Read more