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 2. ServiceStack as Your Unique Point of Access

An incorporation of ServiceStack that takes advantage of all its features, must be made in your design. This integration can be more challenging in an existing application, where you apply ServiceStack at the top as an additional layer.

One common scenario is adding an API over HTTP to an existing system, in order to provide an abstracted and defined public access to internal functionalities. The next step in most scenarios is to add authentication and authorization, and a session storage.

Before we introduce an example application as our working item, we will discuss the IoC container Funq that comes shipped with ServiceStack to lay a solid foundation for our design.

We will cover the following ...

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