Restful Services are getting more and more popular in our days and .NET developers prefer to build them through the Web API Framework, which let's be honest it sounds right. You need to know though that WCF Framework also provides the support for building services that can be consumed over HTTP requests so you might wonder what are the differences between the two of them and which of these are the best to go with. Well, the answer is quite long and exceeds this post's scope but in my mind, Web API is used to serve data, that is you request an API controller's action to get back or post some data while WCF can be invoked in order to make different kind of operations such as heavy calculations, maybe a transaction. Anyway, this post will show you how easy is to create a WCF Restful service and consume it, either from a simple browser typing the right URL or from another application using an HttpClient.
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
This article is related to
C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,WCF,HttpClient
C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,WCF,HttpClient
0 Comments