SignalR on .NET 6 - the Complete Guide: The easiest way to enable real-time two-way HTTP communication on .NET 6
- Добавил: literator
- Дата: 6-01-2022, 06:29
- Комментариев: 0
![SignalR on .NET 6 - the Complete Guide: The easiest way to enable real-time two-way HTTP communication on .NET 6](/uploads/posts/2022-01/1641439774_8191_signalr_on__n_t_6___th__compl_t__guid_.jpg)
Автор: Fiodar Sazanavets
Издательство: Leanpub
Год: 2021-12-26
Страниц: 174
Язык: английский
Формат: pdf, mobi, epub
Размер: 10.2 MB
Learn everything there is to learn about SignalR and how to integrate it with the latest .NET 6 and C# 10 features. Learn how to connect any type of client to SignalR, including plain WebSocket client. Learn how to build interactive applications that can communicate with each other in real time without making excessive calls.
Are you a web developer or do you write Internet of things (IoT) software? If so, you would know that many web and IoT development projects these days require the ability to establish a persistent connection between a client and a server without having to keep sending repeated requests from the client. For example, a user of a live chat would want to know in real time that they have received a new message. Or an IoT device may need to be sent a command in real time.
As you may also know, such functionality may be hard to implement. However, if you can build your server-side application on ASP.NET Core, there is a way to make this whole process easy. There is a library called SignalR, which is included in ASP.NET Core.
SignalR doesn't only enable you to achieve real-time two-way communication between applications. It also substantially simplifies the process of enabling all of this in the code. Under the hood, it uses various two-way communication protocols, such as WebSocket. However, it abstracts away all the implementation complexity of these protocols. To the developer, working with this library will mostly consists of writing simple and easily readable statements.
In this book, we will cover everything you would need to know about using SignalR on .NET 6, so you will see how to integrate it with the the latest features on ASP.NET Core 6 and C# 10. We will cover much more than you can find in the official documentation of the library. For example, you will learn how to connect a plain WebSocket client to it, which may help you to write a client in a language that isn't officially supported. Likewise, we will cover many concepts that aren't directly related to SignalR, but are important to its production-ready implementation. These would include single sign-on, certificate authorization, logging, metrics and scaling out. By the end of this book, you would be able to identify the situations where SignalR is the best tool for the job and you would be fully able to implement it.
Who is this book for:
This book will be useful to any ASP.NET Core developer who is interested in enabling real-time two-way communication between the clients and the server. Whether you are building a real-time chat application, a messenger app, or an IoT control hub, you will find the information in this book useful.
Prerequisites:
This book assumes that you are already somewhat familiar with .NET in general and ASP.NET Core in particular. Although anyone will be able to folow the examples provided in the chapters, to fully understand them, you need to unserstand what ASP.NET Core applications are and how they are structured. One of the best place to learn ASP.NET Core is its official documentation website. In our examples, we will mostly be using MVC (model-view-controller) template. So, to take the maximum benefit from this book, you will need to know what it is and how it works.
Скачать SignalR on .NET 6 - the Complete Guide: The easiest way to enable real-time two-way HTTP communication on .NET 6
![](/templates/LitmyL/images/LitMyru.png)
[related-news] [/related-news]
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.