[MonoTouch] Library for UI stuff
Demis Bellot
demis.bellot at gmail.com
Sat Oct 17 06:24:33 EDT 2009
Well ServiceStack is essentially the 'Server' component allowing you
to create Web Services simply using DataContract's. It also hosts and
provides different endpoints for your services, so your 1 web service
can be called via multiple ways e.g. XML+REST, JSON+REST, etc.
It also provides multiple clients to connect with those services:
- MonoTouch XML service client
- Silverlight XML service client
- Ajax JSON service client
- .NET/Mono XML, JSON, SOAP 1.1 and SOAP 1.2 service clients
(we also have developed flash and QT clients but since they were
developed at work, they're not open source)
The clients are pure 'REST' clients i.e. there is no extra XML /
Metadata that is added to the payload it really is just the
DataContract serialized (with either JSON or XML) and sent over HTTP.
So whether or not the clients will work with other services comes down
to whether those services are pure XML or JSON REST services. Also if
you're trying to hook up with other services you will also need some
way to get their DTO's - if they provide a WSDL / XSD then you can use
wsdl.exe / xsd.exe or the equivalent tools in mono to generate them.
Cheers,
Demis
On Sat, Oct 17, 2009 at 4:37 AM, Simon <simon at nureality.ca> wrote:
> Question about ServiceStack REST support. Can it be used for client only
> hookups to existing services out there? Thinking of things like Twitter etc.
>
> Thanks!
> Simon
>
>
>
> On 2009-10-16, at 9:18 PM, Demis Bellot <demis.bellot at gmail.com> wrote:
>
>> Hey thanks,
>>
>> If anyone has any trouble getting started with this tutorial or
>> building their own web services they can reply to this mailing list or
>> to me directly.
>>
>> Works crazy busy atm, but If I can find enough time I'll look at doing
>> another more practical tutorial, hopefully I'll be able to get my
>> sqlite orm provider working in MonoTouch and provide an example using
>> both of them together:
>>
>>
>> http://code.google.com/p/servicestack/source/browse/trunk/Common/ServiceStack.Common/ServiceStack.OrmLite.Tests/UseCase/SimpleUseCase.cs
>>
>> Cheers,
>> Demis
>>
>>
>> On Fri, Oct 16, 2009 at 9:22 PM, Miguel de Icaza <miguel at novell.com>
>> wrote:
>>>
>>> Hello Demis,
>>>
>>> This is an amazing library, and the tutorials make it look great!
>>>
>>>> For anyone who's interested I've put together a tutorial on how to
>>>> create and call REST / XML Web Services from a MonoTouch application
>>>> at:
>>>>
>>>> http://www.servicestack.net/monotouch/remote-info/
>>>>
>>>> The full source code which includes a functional MonoTouch application
>>>> is available to download at:
>>>> http://servicestack.googlecode.com/files/RemoteInfo.zip
>>>>
>>>> Or you browse source at:
>>>>
>>>> http://code.google.com/p/servicestack/source/browse/#svn/trunk/MonoTouch.Examples/RemoteInfo
>>>>
>>>> Enjoy!
>>>> Demis
>>>> _______________________________________________
>>>> MonoTouch mailing list
>>>> MonoTouch at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>
>>>
>> _______________________________________________
>> MonoTouch mailing list
>> MonoTouch at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>
More information about the MonoTouch
mailing list