Re: [mono-android] REST Example

2011-11-01 Thread moelski
Thx Mike ! And for the rest of you ... Here is an example how to do that: http://pietschsoft.com/post/2008/02/NET-35-JSON-Serialization-using-the-DataContractJsonSerializer.aspx -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Re-REST-Example-tp4952559p4955164.ht

Re: [mono-android] REST Example

2011-11-01 Thread Mike Child
You would use DataContractJsonSerializer. It is under the System.Runtime.Serialization.Json namespace. Mike Child On Tue, Nov 1, 2011 at 3:24 AM, moelski wrote: > Hi again, > > I got it working in a .net4 Windows app with this code: > > > But JavaScriptSerializer is not available for MonoAndr

Re: [mono-android] REST Example

2011-11-01 Thread moelski
Hi again, I got it working in a .net4 Windows app with this code: But JavaScriptSerializer is not available for MonoAndroid -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Re-REST-Example-tp4952559p4954493.html Sent from the Mono for Android mailing list archi

Re: [mono-android] REST Example

2011-11-01 Thread moelski
Hi Wally, first of all thx for your reply. I´ve tested your code within a command line app (win) and it works. But I see 2 disadvantages ... 1) I have to encode the whole Request by myself. This includes setting the correct Url / URI, building the body, set the correct request method, set the

Re: [mono-android] REST Example

2011-10-31 Thread Wally McClure
Dominik, Here's a blog post I did on Monotouch. It's done the exact same way in Mono for Android:http://morewally.com/cs/blogs/wallym/archive/2009/09/01/net-code-in-the-iphone-asynch-http-web-request.aspx Wally > Date: Mon, 31 Oct 2011 00:49:47 -0700 > From: domi...@logview.info > To: theevilp