Create .NET WCF Restful web service for iOS
By stlplace on Mar 13, 2012 in iPhone app
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
and
2(Space Service, a WCF web service app)
2) I need to combine 2 services into one program, and I referred to endPoint.tv 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
http://www.codeproject.com/Articles/105273/Create-RESTful-WCF-Service-API-Step-By-Step-Guide





Jennifer Wiss | Mar 22, 2012 | Reply
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
Ronpoul | Dec 28, 2012 | Reply
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
aliina | Apr 23, 2013 | Reply
I’m planning to try this .NET web service, I’ve read some good reviews.
Windows Phone Next App Star
celebjackets | Apr 27, 2013 | Reply
Another great post, I appreciate all the work you put into this site, helping out others with your fun and creative works.