Поиск  
Always will be ready notify the world about expectations as easy as possible: job change page
Книги для разработчиков

SignalR on .NET 6 - The Complete Guide

SignalR on .NET 6 - The Complete Guide

The easiest way to enable real-time two-way HTTP communication on .NET 6
Автор:
Год:
Страниц:
166
Просмотров:
3082

Описание

Are you a software engineer who needs to build a fully interactive application with real-time updates? Perhaps you are aiming to write an instant messaging app. Or perhaps you want to receive updates about someone's location in real time. Or maybe you have a fleet of responsive Internet of Things devices that you need to get to communicate in real time with each other and the server.

It is a very common challenge of modern software development. If your application isn't Interactive enough, the market will simply reject it. Most apps of today are expected to be interactive. But unfortunately, such functionality is typically hard to implement.

However, if you choose to build your server-side application on ASP.NET Core, you are in luck. There is a way to make this whole process incredibly easy. It's made easy by a library called SignalR, which is inbuilt in ASP.NET Core.

SignalR doesn't only enable us 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, intuitive, and easily readable expressions.

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 for its production-ready implementation. These 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 capable of implementing it.

Table of Content:

  1. Introduction to SignalR.
  2. Setting up your project.
  3. In-browser SignalR clients.
  4. External SignalR clients.
  5. Sending messages to individual clients or groups of clients.
  6. Streaming in SignalR.
  7. Advanced SignalR configuration.
  8. Securing your SignalR applications.
  9. Scaling out SignalR application.
  10. Introducing Azure SignalR Service.
Похожее
Architecting ASP.NET Core Applications, 3rd Edition
Автор: Carl-Hugo Marcotte
Год: 2024
Backend design like you've never seen it before - a guide to building SOLID ASP.NET Core web apps that stand the test of time. Featuring more Minimal APIs, more testing, a new e-commerce project, and the modular monolith!Key features ...
Pro ASP.NET MVC 4, 4th Edition
Автор: Adam Freeman
Год: 2012
Realtime Web Apps
Автор: Jason Lengstorf, Phil Leggetter
Год: 2013
Realtime Web Apps: With HTML5 WebSocket, PHP, and jQuery is a guide for beginner- to intermediate-level web developers looking to take the next leap forward in website and app development: realtime.With Realtime Web Apps, you’ll be able to quickly get...
Pro ASP.NET SignalR
Автор: Roberto Vespa
Год: 2014
ASP.NET SignalR is the new solution to real-time communication between servers and clients in .NET. Use it to push new data to a web page or mobile device as soon as it becomes available, whether it’s a notification, live chat,...
Написать сообщение
Тип
Почта
Имя
*Сообщение

RSS
Если вам понравился этот сайт и вы хотите меня поддержать, вы можете
Семь итераций наивности или как я полтора года свою дебютную игру писал
Асинхронный JavaScript: изучаем Async/Await, Callbacks и Promises
Как мы столкнулись с версионированием и осознали, что вариант «просто проставить цифры» не работает
Какого черта мы нанимаем, или осмысленность собеседований в IT
Три ключевых принципа ПО, которые вы должны понимать
Soft skills: 18 самых важных навыков, которыми должен владеть каждый работник
9 главных трендов в разработке фронтенда в 2024 году
10 историй, как «валят» айтишников на технических интервью
Рассуждение на тему, какую базу данных выбирать
Доводим разработчика до выгорания: три простых шага
LinkedIn: Sergey Drozdov
Boosty
Donate to support the project
GitHub account
GitHub profile