Is ServiceStack really suitable for iOS / Objective-C clients?

I am developing an iOS / Objective-C Enterprise application that needs access to SQL Server through a hosted C # service. WCF is the obvious choice for plumbing, but like most Microsoft development technologies, when you go beyond a simple demo application, it gets pretty ugly.

I came across ServiceStack and it looks much better than WCF. My concern is that I can’t find almost no links to anyone else using the iOS / Objective-C client (although I can see a couple of links to iOS / Mono ServiceStack clients).

ServiceStack is clearly focused on standard protocols, so I'm sure it can do the job, but I have the feeling that I'm missing something. Am I trying to drive nails with a blender or something like that?

What is the main iOS / Objective-C developer solution connecting to the SQL Server database server?

+6
source share
1 answer

From the outside, you can think of ServiceStack as simply cleaning JSON by cable, although ServiceStack does provide a nice story for .NET clients , having the ability to share typed DTOs to provide an end-to-end Typed API for free, that is, without any codes or extra effort . The output of the web service itself is clean and has no connection with ServiceStack and can be easily used with standard JSON or XML serializers on each of the corresponding platforms.

Swedishstartupspace.com recently published how they created their SLussen iOS mobile app in one day, Uppsala Hackathon. They used the native iOS RestKit library to use their internal ServiceStack API.

Others used Xamarin.iOS to create native iOS apps in C #, there is also a course on PluralSight that demonstrates how to use C # to develop native Xamarin.iOS mobile apps that work with the ServiceStack database .

+6
source

Source: https://habr.com/ru/post/954719/


All Articles