Introduction
Overview of the topics covered in this chapter.
We've already covered all the fundamental ways of using SignalR messages. We learned how to set up clients of all supported types, send messages to specific clients, and use client-to-server and server-to-client data streams. Next, we'll move on to more advanced SignalR concepts. In this chapter, we'll cover SignalR configuration.
Most of the time, you won’t have to configure SignalR. The default settings are more than sufficient to cover the majority of scenarios where SignalR is used. But sometimes, you'll have to fine-tune the configuration. Some settings would allow you to improve the performance or significantly make your application more secure.
SignalR allows you to configure both the server and the client. Both of those have multiple levels of configuration. In this chapter, we will cover them all.
The chapter consists of the following topics:
Configuring SignalR server.
Configuring SignalR client.
Pros and cons of MessagePack protocol.
By the end of this chapter, you'll have learned how to configure both the SignalR server and the client.
Get hands-on with 1200+ tech skills courses.