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: 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 new SignalR that is compatible with ASP.NET Core. It consists… Read more

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 TechCenter… Read more

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 Login to Select New, Compute, Web Site, Quick Create Type a URL and click Create Web Site Go to Dashboard of your new website,… Read more

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 offers great… Read more

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… Read more

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 2. Install Microsoft.AspNet.SignalR.Sample NuGet package 3. This installs SignalR package version… Read more

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 this… Read more

SignalR: Building real time web applications

Note: This sample is targeting SignalR 1.0.1  SignalR offers a simple and clean API to write real time web applications where the server needs to continuously push data to clients. Common applications are chat, news feed, notifications, multiplayer games. In this sample, I demonstrate powerful features like: A server implementation hosted in IISExpress Client implementations… Read more

Announcing the Release of SignalR 0.5.3

SignalR 0.5.3 Release Notes The SignalR team has been working long hours in their team room in Building 18 for the past few months adding features, resolving issues, and cranking out code. Today the team has released the 0.5.3 release of SignalR. This post will cover some of the key items in the release and… Read more