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

2009-10-17 Thread Danny Haak
Hi,

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

Regards,
Danny


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

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 2.4.2.3 at Mac OS X 
> 10.6)?
>
> Thanks!
>
> Best regards,
> Danny
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
>


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


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

2009-10-16 Thread Atsushi Eno
Hello,

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 2.4.2.3 at Mac OS X 
> 10.6)?
>
> Thanks!
>
> Best regards,
> Danny
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
>

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


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

2009-10-16 Thread Danny Haak
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 2.4.2.3 at Mac OS X 
10.6)?

Thanks!

Best regards,
Danny
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list