I want to write webservice on .NET (my Client can be Android, iOS, Mac OS, Website…). My question is that I should use WCF or ASP.NET to do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume you mean ASP.net Web Apis when you mention ASP.net. There is also ASP.net soap services but those won’t be ideal to work with on platforms such as android or iOS.
If you are unsure about what the different web services are, you will most likely want to use ASP.net Web APIs as these are easy to set up and offer multiple content types, XML, JSON, possibly more…
WCF is more built for web services however it has a steep learning curve, which is why I say if you’re unsure about what you want, you most likely aren’t making something which will require WCF.
For more information I suggest reading: http://idesign.net/articles/asp_net_web_api_vs_wcf.htm