TouchStack makes it easier for MonoTouch developers to consume Web services created and exposed by the brilliant ServiceStack.NET webservice framework
Why
I first developed this library because i wanted a client that would allow me to make asynchronous webservice calls without having to manually manage threads. So i decided to build one from scratch around Foundation Framework's NSUrlConnection. The initial client has evolved since it was initially designed and i therefore decided to open-source the project hoping that will come to help others along the way.
Dependencies
The library currently depends on:
- MonoTouch.dll (Mainly required for the NSUrlConnection and NSUrlConnectionDelegate);
- System.Runtime.Serialization, System.ServiceModel.Web and System.Xml (Required by the Json and Xml encoders);
- No external libraries are required (although i am thinking of using ServiceStack.NET's serializers in future releases).
Features
The library currently provides the following main features:
- Implicit asynchronous web-service calls. Results and error conditions are reported via custom events;
- Currently XML and JSON formats are supported;
- Supports SSL connections;
- It can easily be extended with your own custom encoder.
Plans
- Provide support for other authentication methods, such as basic HTTP authentication;
- Support SOAP 1.1 and SOAP 1.2 formats;
Read more: Codeplex