[Mono-list] JSON not working when using WebServiceHost (returning XML)

Danny Haak danny.haak at nedap.com
Sat Oct 17 09:19:40 EDT 2009


I compiled mono from trunk, and the problem is solved. Nice.


-----Original Message-----
From: Atsushi Eno [mailto:atsushieno at veritas-vos-liberabit.com]
Sent: Fri 16/10/2009 18:07
To: Danny Haak
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] JSON not working when using WebServiceHost (returning XML)

System.ServiceModel.Web is in active development so that at least you 
cannot reliably use it in 2.4. Try it from trunk or at least wait for 
2.6 instead.

Atsushi Eno

On 2009/10/16 23:41, Danny Haak wrote:
> Hi all,
> I am trying to implement the example at http://www.developmentalmadness.com/2008/05/intro-to-wcf-for-ajax.html (want to make a RESTful webservice using JSON). The example is working, but instead of JSON, it returns XML. Is this example correct (bit tough to find an easy example on the interwebs); or is is it a bug (using Mono at Mac OS X 10.6)?
> Thanks!
> Best regards,
> Danny
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list