Book Image

Mastering ServiceStack

By : Andreas Niedermair
Book Image

Mastering ServiceStack

By: Andreas Niedermair

Overview of this book

Table of Contents (13 chapters)

Chapter 6. Extending ServiceStack

While implementing services, especially when you've built several components based on ServiceStack, you often find yourself in a situation where you are searching for a way to share and centralize resources or business logic, for example to streamline maintenance or looking for ways to provide extensions for ServiceStack to the community.

Thanks to the modular basis of ServiceStack, which is used throughout the core of ServiceStack itself, you can develop plugins to provide functionalities for others.

In this chapter we will cover the following topics:

  • Writing your own plugin

  • Intercepting request and response

  • Registering new services and endpoints from within plugins