HomeНаука и техникаRelated VideosMore From: Microsoft Developer

Going real-time with ASP.NET Core SignalR and the Azure SignalR Service

73 ratings | 5552 views
Online chat, realtime dashboards, social media sites and even games are just a few examples of where real-time technology can make a huge impact on user experience. ASP.NET Core SignalR is an open-source library that simplifies adding real-time functionality to your applications. In this episode, Anthony Chu (@nthonyChu) comes on to talk about how we can get started with ASP.NET Core SignalR. He also shows us how the Azure SignalR Service allows us to easily scale our real-time connections. 01:26 - What is SignalR? 02:10 - Why would we want to use SignalR instead of polling? 03:03 - (Demo) How do we setup SignalR? 08:48 - What are the scaling options for SignalR? 12:00 - How does the SignalR service help with scaling? 13:40- (Demo) How do we add the SignalR Service to an application? 18:07 - How can other languages or services integrate with Azure Functions? 19:23 - (Demo) How can we wire up the Azure Functions SignalR Binding? 25:17 - Where we can learn more and check out the demos? Useful Links Introduction to ASP.NET Core SignalR: https://docs.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-2.1&WT.mc_id=ondotnet-channel9-cephilli What is Azure SignalR Service: https://docs.microsoft.com/en-us/azure/azure-signalr/signalr-overview Serverless Trivia: https://github.com/anthonychu/serverless-trivia CosmosDB Real-time Update demo: https://github.com/anthonychu/cosmosdb-signalr-realtime-updates Azure Functions Binding for Azure SignalR Service: https://github.com/anthonychu/AzureAdvocates.WebJobs.Extensions.SignalRService Create a Free Account (Azure): https://aka.ms/azft-net
Html code for embedding videos on your blog
Text Comments (9)
Christophe GIGAX (23 days ago)
Is the Backplane with Redis automatically deployed with an Azure SignalR Service ? +Anthony Chu
Gabi Ilie (2 months ago)
Great video. Also got a questions, what VS Code extension are you using.
Anthony Chu (2 months ago)
The one that I used to update the document in Cosmos DB was the Cosmos DB VS Code extension. I also have others installed: GitLens, Azure Functions, Azure Storage, to name a few.
Dragos-Andrei Iliescu (2 months ago)
qazyhn94 (2 months ago)
pretty nice demo with flights, I like it
AdamsTaiwan (3 months ago)
I like that you used Vue.
Anthony Chu (3 months ago)
AdamsTaiwan If you’re using SignalR in an ASP.NET Core app, you can secure the hub or its methods using Authorize attributes just like you would do with MVC. Otherwise you are right, anyone can invoke those hub methods. If you are using the SignalR Service with Azure Functions, you have to make sure your functions are secure. Send me email if you need any help [email protected] microsoft com.
AdamsTaiwan (3 months ago)
SignalR is cool, but I need to know how to secure it. I once wrote a Windows app that took the x,y,z from my MS Band over bluetooth sent using my Chat sample to another Windows app running in Hololens simulator to rotate an image. So basically hacked my chat app to do something else... scary. You can see the video by clicking on my username to get to my youtube videos.
Anthony Chu (3 months ago)
AdamsTaiwan It’s my favourite frontend framework these days!

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.