This light-weight, compact course will teach you what ASP.NET Core SignalR is, how it uses underlying real-time web techniques, how to get started using it, and how it's different from earlier versions.
Real-time web functionality is almost a must when developing a web app nowadays. In this course, you will not only learn how the real-time web works, but also how to implement it using the greatest real-time web framework available. First, you will explore real-time web in general and about the low-level transports SignalR uses: WebSockets, Server Sent Events (SSE) and long polling. Next, you will learn about the SignalR concepts, and the ways SignalR uses the underlying transports to do Remote Prodecure Call (RPC) by utilizing Hubs. You'll also see what the differences are with earlier versions and what the challenges are when scaling out.
Finally, you'll discover how to implement an example application step by step and you'll see how to deploy it to Azure. We're also taking a look at the security features. When you're done watching this course, you'll understand when SignalR is a good choice for problems you are tasked with solving.
Understanding the Real-time Web Hi, and welcome to this first module entitled Understanding the Real-Time Web. Before you're starting to work with SignalR, there are some things you should know to understand what is going on under the covers. This module covers that. First, I'll give you an overview of what real-time web applications are, then there's a refresher about AJAX, and I'm covering different techniques to create real-time web applications, polling and long polling, server sent events, and WebSockets.
Overview of ASP.NET Core SignalR The focus of this module is on the concepts of SignalR. You won't see much code, but I'll make that up to you in the next module. In this module, I'm talking about what SignalR is, how its transport system works, and why RPC is an important concept surrounding SignalR. You'll see why hubs are the spiders in the web for the real-time part of your applications. I'm pointing out the differences between SignalR for ASP. NET Core and versions for Classic ASP. NET. And finally, there are some things you should know when you're scaling out your app.
Working with ASP.NET Core SignalR There are just a few slides in this module. We're spending our time mostly in Visual Studio, to see how to implement the server and client side. We're doing the most important part first, the hub. Then we have to do some things in the startup class to configure SignalR. You'll see how to use hubs to call functions on the client throughout your application. Security is of course an important aspect. And next, we'll create a browser client, and we're investigating how SignalR pulls off transport negotiation. Then I'll set up a. NET client with MessagePack hub protocol. And finally, we're deploying the app to Azure, and you'll see how to make sure your app can scale out. And Azure SignalR service can help with that. So to close off, we're adding support for that.