[mono-android] REST Example
moelski
dominik at logview.info
Tue Nov 1 03:02:25 EDT 2011
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 correct header, ...
That´s a lot of more coding then using a WebChannelFactory with a proxy.
2) Decoding the Response ...
If I use WebChannelFactory I can directly use the response as a new object.
Setting up the correct URI, set up the header is not a really big deal.
But I think what I need is some kind of serialization / deserialization for
my datacontract. Do you have a short example how to archive this with JSON?
Best regards
Dominik
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Re-REST-Example-tp4952559p4954465.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list