Go give Web.API a scan.. Its not your normal WCF experience.. I had REST 
services up and running in no time.. And if you return iqueriables you can 
actually query and filter your data via querystring args you pass in.. So 
rather than writing a "query service" or handling how you want to query data.. 
you can use the OpenData protocal and the new Web.API stuff will take the 
results from your service call (as an iqueriable) parse and run the passed in 
query on top of it, then serialize and send the trimmed data down in XML or 
JSON..

Normally I would say go with some Ruby platform like Rails or Sinatra if all 
you are doing is REST calls.. but this new Web.API stuff is a game changer..  
For instance, I use DTOs to model my data crossing the wire from my REST call 
to my mobile device.. I actually reuse those POCO cs files in my mobile app and 
JSON.NET deserializes right in to them.. Because they are shared source, change 
the POCO in one file and both my client and my server continue to talk the same 
language :-)..

Josh Handel
Mobile Architect
512.328.8181 | Main
512.328.0584 | Fax
512.577-6568 | Cell
www.catapultsystems.com<https://webmail.catapultsystems.com/owa/UrlBlockedError.aspx>

CATAPULT SYSTEMS INC.
THE MICROSOFT CONSULTING COMPANY
________________________________
From: [email protected] [[email protected]] 
on behalf of Tom Opgenorth [[email protected]]
Sent: Thursday, December 08, 2011 10:17 AM
To: Nic Wise
Cc: [email protected]
Subject: Re: [MonoTouch] Webservice or ?

Starting to go down this road myself.

Right now I'm going with REST and JSON. Using Sinatra for the server side for 
now.  If it turns out the server has to be .NET, I was going to use Nancy (due 
to its similiarity to Sinatra) or maybe Open Rasta.  Although, I might now have 
to take a look at ServiceStack too.

My experiences with WCF have been tolerable, but I'd shy away from it if I was 
starting fresh.

On Thu, Dec 8, 2011 at 05:31, Nic Wise 
<[email protected]<mailto:[email protected]>> wrote:
How complex is your data?

For very simple stuff: JSON over HTTP gets my vote.

For more complex stuff... JSON over HTTP. Unless you have SOAP/WCF
services already written.

On Thu, Dec 8, 2011 at 12:26, MojoDK <[email protected]<mailto:[email protected]>> wrote:
> Hi,
>
> I'm new to this, so please bear wtih me. :)
>
> I need my MT iPhone app to communicate with my company server. What is the
> best way to do this? Through webservices? JSon?
>
> Thanks!
> Mojo
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Webservice-or-tp4172578p4172578.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]<mailto:[email protected]>
> http://lists.ximian.com/mailman/listinfo/monotouch



--
Nic Wise
t.  +44 7788 592 806<tel:%2B44%207788%20592%20806> | @fastchicken | 
http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]<mailto:[email protected]>
http://lists.ximian.com/mailman/listinfo/monotouch



--
http://www.opgenorth.net

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to