Mastering ServiceStack

Utilize ServiceStack as the rock solid foundation of your distributed system

Mastering ServiceStack

Andreas Niedermair

1 customer reviews
Utilize ServiceStack as the rock solid foundation of your distributed system
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day 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

Recommended for You

ServiceStack 4 Cookbook Book Cover
ServiceStack 4 Cookbook
$ 29.99
$ 10.00
Learning AngularJS for .NET Developers Book Cover
Learning AngularJS for .NET Developers
$ 23.99
$ 2.40
NHibernate 3.0 Cookbook Book Cover
NHibernate 3.0 Cookbook
$ 26.99
$ 10.00
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
React.js Essentials Book Cover
React.js Essentials
$ 23.99
$ 10.00
Mastering TypeScript Book Cover
Mastering TypeScript
$ 39.99
$ 10.00