
Discover how ASP.NET Core SignalR enables persistent two-way communication via transport mechanisms like WebSockets, server-sent events, and long polling, with automatic or explicit transport selection.
Demonstrate ASP.NET Identity's authentication and authorization via the Authorize attribute, roles, and policies, with examples on registering users and restricting actions like broadcast messages.
ConfigureServices adds IdentityOptions and cookie authentication to enable authentication, and UseAuthentication must precede UseSignalR and UseMvc in the pipeline, as shown by registering and logging in to authorize hub methods.
Configure a distributed asp.net core app to use an Azure SignalR resource by adding the Microsoft.Azure.SignalR NuGet package to one project, allowing the dependency to implicitly propagate to both projects.
You now know how to use SignalR and can build your own application with ASP.NET Core, exploring server-side Blazor and other features to integrate SignalR in various app types.
Are you a web developer? If so, you would know that many web 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. As you may also know, such functionality may be hard to implement.
However, if you can build your web application in ASP.NET Core, there is a way to make this whole process easy. There is a library called SignalR. This is what I'm going to talk about in this course. As well as doing all the heavy lifting for you, the library abstracts away all complex implementation details, so your code can be made extremely simple.
However, as you would already know, nothing in programming is simple in absolute terms. Programming is a complex activity, so even those concepts that are relatively simple require some practice and studying.
This is why I've created this course. By the end of it, you should be able to build a web application that clients will be able to establish a persistent connection with and exchange the data with in real time.