Skip to Content
Building RESTful Web Services with .NET Core
book

Building RESTful Web Services with .NET Core

by Gaurav Aroraa, Tadit Dash
May 2018
Intermediate to advanced
334 pages
7h 25m
English
Packt Publishing
Content preview from Building RESTful Web Services with .NET Core

SOAP versus REST

Following are some key differences between SOAP and REST:

SOAP
REST
It is an XML-based message protocol. It is an architectural style.
WSDL is used for communication between client and server. XML or JSON is used to send and receive data between client and server.
Services are invoked by calling the RPC method. Services expose endpoints via URLs.
Response is easily readable by a human. Response is readable in the form of plain XML or JSON.
Data transfer occurs over HTTP. It leverages protocols such as SMTP, FTP, and so on. REST data transfer occurs over HTTP only.
It is difficult to call a SOAP service from JavaScript. It is very easy to call a REST service from JavaScript.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RESTful Web Services with ASP.NET Core 3

Hands-On RESTful Web Services with ASP.NET Core 3

Samuele Resca
Microservices in .NET Core

Microservices in .NET Core

Christian Horsdal Gammelgaard

Publisher Resources

ISBN: 9781788291576Supplemental Content