Description
Course info
Rating
(94)
Level
Beginner
Updated
Jun 22, 2018
Duration
1h 11m
Description

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.

About the author
About the author

Roland is a Microsoft MVP enjoying a constant curiosity around new techniques in software development. His focus is on all things .Net and browser technologies.

More from the author
Building GraphQL APIs with ASP.NET Core
Advanced
1h 22m
Jan 17, 2019
A Practical Start with React
Beginner
1h 28m
Apr 21, 2018
More courses by Roland Guijt
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Roland Guijt, and welcome to my course, Getting Started with ASP. NET Core SignalR. I am an independent software developer and trainer based in the Netherlands. 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 out there, ASP. NET Core SignalR. Some of the major topics that we will cover include real-time web concepts and techniques, the concepts of SignalR, and implementing a SignalR app. Before beginning the course, you should be familiar with ASP. NET Core and JavaScript. So don't delay, continue on with the first module, and enjoy your SignalR journey.

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.