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 ...

Get SignalR - Real-time Application Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.