Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authenticated WCF Service for MonoTouch, Mono for Android and WP7

Iam writing a Phone App where the end user should be able to access their own personal messages and other personal content. Does anyone have some good ideas of how to create a service like this, should i use Soap or Rest, should i simply send the username/password with every request or ?

What would be the best choice for a service i would like to access from all three platforms and that only returns information specific to the authenticate user.

like image 995
Morten Schmidt Avatar asked Feb 10 '12 19:02

Morten Schmidt


1 Answers

As a suggested alternative to WCF that's at least worth taking a look at, ServiceStack, an open source REST Web Services Framework, is well suited for use in a mobile app and it supports the Mono platforms. It also has built-in support for user authentication. At the very least, it offers a JSON serializer that performs very well.

There's a Wiki for ServiceStack here.

like image 93
Roy Goode Avatar answered Oct 25 '22 04:10

Roy Goode