Hello,
I have read many articles abot Rest Services. But did not understand properly. Can any one discribe me "REST Services", "RESTFUL" and "RESTLESS" services with daily life examples. What is this and why we use them?
Thanks in Advance.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Afzaal Ahmad ZeeshanPosted Apr 1, 2017, 11:59 AM
REST is really very much useful, because... Let's say, you want Android device to connect to your service that you provide through a .NET application. If that service or the design is not RESTful, then you would have to create client-server script, and then authenticate the client device before they can even start to call a function. However, in the REST environment, client does not need to know anything about server, and same for the server. This allows both ends to easily communicate. A good example of this is provided on this thread, http://stackoverflow.com/questions/671118/what-exactly-is-restful-programming
For example, to create a simple Web API to load and save the data for a Person database, you only need to write this,
WCF has some good sides as well, it can work on multiple protocols too, and has a good feature-set, for API you have to build a lot of stuff yourself. But you need to work on both sides and learn some good skills.