Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm planning to develop an iPhone game. Is it possible to use .NET WCF as a backend? The server would be windows 2008 and MS-SQL database.

share|improve this question
I am not sure how mature the Apple SOAP development tools are so you might want to use the WCF REST stuff (WebHttpBinding). WCF is pretty slow so if you are thinking of making a realtime multiplayer game with it you won't have any success. – Jonathan Dickinson Apr 2 '12 at 8:17
Hi Jon, are WCF rest much faster? thank you for the comment. – Petrick Lim Apr 2 '12 at 13:20
@Jonathan: Could you please provide links supporting the claim that WCF is not good for realtime apps? As far as I know WCF + protobufs can give good performance. – Den Apr 2 '12 at 20:06
@Den erm, that's true - question is, do the iPhone tools support the 'proprietary' stuff that they did with that? – Jonathan Dickinson Apr 2 '12 at 21:47
OP: The WCF Rest stuff is marginally faster because it doesn't have all the SOAP overhead that Lurca described: but it's definitely not suited to realtime games. – Jonathan Dickinson Apr 2 '12 at 21:48
up vote 0 down vote accepted

SOAP has a lot of XML overhead! And parsing XML is always slow. Especially on mobile devices. Use REST and JSON. There even is something like JSON-RPC, just google for it.

share|improve this answer
thank you for the info – Petrick Lim Apr 5 '12 at 15:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.