From: Steve . <mo...@ho...> - 2012-11-18 19:23:45
|
I have an ontology on Knoodl that I need to integrate into an ASP.Net MVC4 web application using ReadAsync method of HttpClient ... (webApi using .Net 4.5) How to fix the exception that I get ?? No MediaTypeFormatter is available to read an object of type 'JArray' from content with media type 'application/sparql-results+json Pointers to how to add a custom MediaTypeFormatter to my solution, please ... or any other way to get this done ?? Hate to have to resort to XML when Json is an option. Articles like this http://byterot.blogspot.com/2012/04/aspnet-web-api-series-part-5.html are helpful, but a bit confusing to me. Thanks,Steve |