Mastering ServiceStack

Utilize ServiceStack as the rock solid foundation of your distributed system

Mastering ServiceStack

This ebook is included in a Mapt subscription
Andreas Niedermair

1 customer reviews
Utilize ServiceStack as the rock solid foundation of your distributed system
$35.99
$44.99
RRP $35.99
RRP $44.99
eBook
Print + eBook
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781783986583
Paperback216 pages

Book Description

Mastering ServiceStack covers real-life problems that occur over the lifetime of a distributed system and how to solve them by deeply understanding the tools of ServiceStack. Distributed systems is the enterprise solution that provide flexibility, reliability, scaling, and performance. ServiceStack is an outstanding tool belt to create such a system in a frictionless manner, especially sophisticated designed and fun to use.

The book starts with an introduction covering the essentials, but assumes you are just refreshing, are a very fast learner, or are an expert in building web services. Then, the book explains ServiceStack's data transfer object patterns and teach you how it differs from other methods of building web services with different protocols, such as SOAP and SOA. It also introduces more low-level details such as how to extend the User Auth, message queues and concepts on how the technology works.

By the end of this book, you will understand the concepts, framework, issues, and resolutions related to ServiceStack.

Table of Contents

Chapter 1: Distributed Systems and How ServiceStack Jumps in
A message-based service
The processing chains of ServiceStack
A brief history of distributed systems
Problems with distributed systems
Summary
Chapter 2: ServiceStack as Your Unique Point of Access
The IoC container
The Ticket application
Sessions
Cache
Authentication and authorization
Summary
Chapter 3: Asynchronous Communication between Components
In Memory MQ
RCON
RedisMQ
RabbitMQ
Server-sent events
Look left and right
Summary
Chapter 4: Analyzing and Tuning a Distributed System
Request logging
Profiling requests
Minimizing the footprint of HTTP requests
Accessing information provided by RequestInfoFeature
Summary
Chapter 5: Documentation and Versioning
Metadata page
Querying your service with Swagger
Querying your service with Postman
Versioning requests
Validating your requests
Summary
Chapter 6: Extending ServiceStack
Writing your own plugin
Intercepting requests and responses
Registering new services and endpoints
Summary

What You Will Learn

  • Design a prudent and resilient API, following the RESTful design
  • Understand the internal processing chain and utilize the provided hooks
  • Incorporate ServiceStack as a full service provider to your existing distributed system
  • Leverage the power of asynchronous processing and add message queues to your architecture
  • Analyze and tune the performance of your service

Authors

Table of Contents

Chapter 1: Distributed Systems and How ServiceStack Jumps in
A message-based service
The processing chains of ServiceStack
A brief history of distributed systems
Problems with distributed systems
Summary
Chapter 2: ServiceStack as Your Unique Point of Access
The IoC container
The Ticket application
Sessions
Cache
Authentication and authorization
Summary
Chapter 3: Asynchronous Communication between Components
In Memory MQ
RCON
RedisMQ
RabbitMQ
Server-sent events
Look left and right
Summary
Chapter 4: Analyzing and Tuning a Distributed System
Request logging
Profiling requests
Minimizing the footprint of HTTP requests
Accessing information provided by RequestInfoFeature
Summary
Chapter 5: Documentation and Versioning
Metadata page
Querying your service with Swagger
Querying your service with Postman
Versioning requests
Validating your requests
Summary
Chapter 6: Extending ServiceStack
Writing your own plugin
Intercepting requests and responses
Registering new services and endpoints
Summary

Book Details

ISBN 139781783986583
Paperback216 pages
Read More
From 1 reviews

Read More Reviews