Posted on 6 Comments

Create .NET WCF Restful web service for iOS

Reading Time: < 1 minute

I need to create a .NET web service consumable by iOS device. Did some research and found out WCF Restful service is the way to go. I used the following examples (tutorials) to construct my web service.

0) Basic Resource Service (link here).
This is basically a self hosting web service run in a main program. A good starting point to learn dataContract, webHttp, etc.

1) I need to change from a console app to a web service, and host on IIS, for this refer to
project 1
2(Space Service, a WCF web service app)

2) I need to combine 2 services into one program, and I referred to plural sight podcast “Building RESTfil services with WCF”

The video above mentioned the httputil.js, HTTP POST/PUT utility, which is handy to test “POST” method. Another tool I used to test GET/POST, is “fiddler”.

A Guide to Designing and Building RESTful Web Services with WCF 3.5, also by Aaron Skonnard, Pluralsight

Essentially here we need to design a scheme (end points) for hosting multiple services.

3) Database connection, I used sql client, which is pretty vanilla.

4) Use pretty path instead of port number (routing service, refer to SimpleREST service again)

Also “code project” example

6 thoughts on “Create .NET WCF Restful web service for iOS

  1. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading what you all have to say…
    Plagiarism detection service

  2. […] up and running so that you can quickly begin to enjoy the ease of keeping track of your finances.If you're trying to find out which personal finance software are best, there's really no one answer …idea to scrupulously study the characteristics and study some of the customer opinions to find out […]

  3. Hello there, I enjoyed the in depth knowledge that you have put into the post. I am definitely looking forward to see what you come up with next time!
    Sell iphone

  4. I’m planning to try this .NET web service, I’ve read some good reviews.
    Windows Phone Next App Star

  5. Another great post, I appreciate all the work you put into this site, helping out others with your fun and creative works.

  6. […] Saxophone | Zongora Events Stan Lee’s Comikaze: Programming HighlightsKirtan – the Yoga of Music | Soolaba's BlogMesa Boogie Boogies on Guitar Center | The Tone King | TheToneKing.comOur 5/11 show wiith Maryam Zadeh and the Top 11 horn/sax solos of the 80s podcast edit is up The Collected Ramblings of the Trip Overland — Tripping Overland The Contrarian: Less Would Have Been More » Rock Town Hall • Rock Music DiscussionMinibar-Music Create .NET WCF Restful web service for iOS | stlplace […]

Leave a Reply

Your email address will not be published. Required fields are marked *