O'Reilly logo

Mastering ServiceStack by Andreas Niedermair

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Writing your own plugin

ServiceStack allows you to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required