Understanding the REST API as the default Blazor communication interface
REST is an architecture for distributed systems. It is an easy way to read, edit, or delete data on the server using HTTP calls from the client. Distributed architecture in this context means that multiple servers can handle different parts of the application and communicate through the network. The communication can occur between the browser and the server, but also between multiple servers, where each of them can provide different functionality, such as logging, caching, authentication, and so on.
A REST API (also called a RESTful API) uses URL calls to communicate and is stateless. Thus, every call to the resource (URL) has to have all information to be completed. Each call can be marked as cached, which can lead to performance improvement between the client and the server.
For data manipulation, REST specifies four basic operations: Create, Read, Update, and Delete (CRUD). Each operation has its own...