O'Reilly logo

SignalR - Real-time Application Development - Second Edition by Einar Ingebrigtsen

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 11. Hosting a Server Using Self-hosted OWIN

This chapter will cover how to host SignalR outside the comfort of a web server. There are occasions where you need to be more lightweight, or simply host things inside a .NET client or similar.

In this chapter, we'll cover the following topics:

  • Getting started with self-hosted OWIN
  • Connecting a .NET client to the self-hosted server

At this stage, the developer should be familiar with how the server works and how to set it up in their own app. They should have a working sample of the chat working with the OWIN server. The developer should also be familiar with how and why to scale out the messaging aspect of SignalR.

Self-hosting

Sometimes you really don't want to have a big footprint on your application ...

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