I am looking at doing a small web application for learning purposes, using .NET. My conundrum is whether I should be exposing application logic to other sites and applications via a REST API, or a set of Web Services.
I am familiar with web services, but have not worked with REST. I understand the concepts of REST, I just have no practical experience with it.
Why would I use REST instead of web services for this scenario? Or not? What the issues that I should be mindful of when designing a REST API, particularly with .NET?
Overview. A REST API (also known as RESTful API) is an application programming interface (API or web API) that conforms to the constraints of REST architectural style and allows for interaction with RESTful web services. REST stands for representational state transfer and was created by computer scientist Roy Fielding.
Both APIs and web services are technologies that enable the transfer of data between separate software applications. API is an interface that exposes an application's data to outside software, whereas web applications are one type of API with stricter requirements.
Has been asked many times, e.g.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With