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

Stateless and Stateful services – a service programming model

A robust service programming model is the backbone of a microservices ecosystem. One should know what type of service model he/she should use as per his/her requirements:

  • Stateless: Services do not persist any state between requests from the client. That is, the service doesn't know, nor care, that the subsequent request has come from the client that has/hasn't made the previous request. This is the best service programming model when we have external data storage. Our service can be based on a stateless service programming model that interacts and persists data on external database storage.
  • Stateful: Services maintain a mutable state, actively processing or retaining state data ...
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