.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

ASP.NET SignalR 2.4.0 Preview 2

We've just released the second preview of the upcoming 2.4.0 release of ASP.NET SignalR. As we mentioned in our previous blog post on the future of ASP.NET SignalR we are releasing a minor update to ASP.NET SignalR (the version of SignalR for System.Web and/or OWIN-based applications) that includes, support for the Azure SignalR Service, as ...

ASP.NET Core 2.1.0-preview1: Getting started with SignalR

Since 2013, ASP.NET developers have been using SignalR to build real-time web applications. Now, with ASP.NET Core 2.1 Preview 1, we're bringing SignalR over to ASP.NET Core so you can build real-time web applications with all the benefits of ASP.NET Core. We released an alpha version of this new SignalR back in October that worked with ASP....

Announcing SignalR (alpha) for ASP.NET Core 2.0

NOTE: This is a post about the Alpha version of SignalR which has since been replaced with a new preview: https://blogs.msdn.microsoft.com/webdev/2018/02/27/asp-net-core-2-1-0-preview1-getting-started-with-signalr/ Today we are glad to announce an alpha release of SignalR for ASP.NET Core 2.0. This is the first official preview release of a ...

ASP.NET December 2013 Security Updates

Today is Patch Tuesday, and the ASP.NET team would like to announce that we have two items included in this month’s release. The first is a bulletin affecting certain versions of SignalR; the second is an advisory affecting ASP.NET Web Forms (.aspx) applications. Each item is briefly outlined below. For more information, consult Security...

Azure Web Site now supports WebSockets

If you missed the announcement the other day, WebSockets are now supported in Windows Azure Web Sites. Let's try it with a sample SignalR application. Create an Azure Web Site (image) Create a Visual Studio Project associated to an Azure Web Site ...

Office Web Apps are using ASP.NET SignalR to power real-time co-authoring

Office Web Apps are now using SignalR as the backend to synchronize changes when two or more people are editing files on SkyDrive or on SharePoint Online.  SignalR enables real time communication among different browsers and native mobile apps to communicate with each other through the backend server.  It is flexible, scalable and ...

SignalR and user identity (authentication and authorization)

There are too many authentication types (Basic, Windows, Cookie, OAuth) to explain how to use all of them. In this sample, I focus on using Cookie Authentication to secure a website, a Persistent Connection, and a Hub. Authentication is configured on OWIN, you have to add some nuget packages and add code in Startup.cs. I started with a web ...

Use SignalR Sample Nuget package in VS2013 Preview MVC 5 Project

We received feedback that the current 1.2 version SignalR sample Nuget package doesn’t work in an MVC 5 project by default. Here are the repro steps and the necessary change to make it work. 1. Create a C# MVC 5 project in VS2013 Preview (image) (image) 2. Install Microsoft.AspNet.SignalR.Sample NuGet package (image) 3. This ...

DataTable using SignalR+AngularJS+EntityFramework

SignalR brought developers an easier way to build real-time, very responsive web applications. But, how does it play with other available technologies? I took a couple of days to implement a very common scenario needed in every Enterprise Application: A DataTable to do CRUD operations persisting changes on a database. My initial thought was ...