In-Depth

Leverage Real-Time Communications in ASP.NET Sites, Apps with Signal R

In a Q&A preview of her session at Live! 360, veteran Visual Studio Live! presenter Rachel Appel shares her thoughts on the benefits of working with SignalR.

There are more tools that ever before to build responsive apps for a variety of platforms. If you're looking to build apps that can leverage real-time communications libraries, then you should look into SignalR. Actually, SignalR is a set of ASP.NET server and client libraries you can use to build real time, scalable, websites and apps.

Veteran Visual Studio Live! presenter and former MSDN magazine columnist Rachel Appel is a content writer for ASP.NET at Microsoft. Next week, her session on Building Real-Time Websites and Apps with SignalR at Visual Studio Live! in Orlando (part of Live! 360 2016) will give you complete coverage on how to use the SignalR libraries and help you learn about polling, real-time development techniques, and cross-platform client connectivity.

Lafe Low: For those not familiar with SignalR, can you briefly explain the benefits of having the server push the content to clients instead of having the client make the call? Can you perhaps provide an example of when this is particularly useful?
Rachel Appel: SignalR really is great anytime. However, where it really shines is in real-time communications. Software that monitors factors such as stocks, dashboards, voting, social networks or anything that needs live, up-to-the-second data, is a perfect candidate for SignalR. People gotta get those "likes" ASAP.

SignalR is a collection of libraries, correct? Not just one technology?
Yes, SignalR is a server-side library with companion client libraries for JavaScript, iOS, Android, and native Windows.

There's a lot of interest in this topic right now. Why do you think it's so hot?
It really is just that awesome. Seriously though, the need for real-time data in today's fast paced world is mandatory for businesses to succeed.

What is your number one tip for working with SignalR?
You don't have to wait for that brand new shiny project to use SignalR. You can integrate SignalR into your existing software with minimal effort.

What surprised you most when you first started working with SignalR technologies?
How easy it is to get up and running quickly. Just add a Nuget package and you can start coding right away. Plus the code required is small and easy to write.

What one thing would you recommend that people not do when working with Signal R?
Consider carefully whether or not you really need the lower level libraries or can stick with the Hubs, which should cover 90 percent of development scenarios.

For more on Live 360! events, go here.

About the Author

Lafe Low has been a technology editor and writer for more than 25 years. Most recently, he was the editor in chief of TechNet magazine. He has also held various editorial positions with Redmond magazine, CIO magazine and InfoWorld. He also launched his own magazine entitled Explore New England, and has published four editions of his guidebook The Best in Tent Camping: New England.

comments powered by Disqus

Featured

  • Cloud-Focused .NET Aspire 9.1 Released

    Along with .NET 10 Preview 1, Microsoft released.NET Aspire 9.1, the latest update to its opinionated, cloud-ready stack for building resilient, observable, and configurable cloud-native applications with .NET.

  • Microsoft Ships First .NET 10 Preview

    Microsoft shipped .NET 10 Preview 1, introducing a raft of improvements and fixes across performance, libraries, and the developer experience.

  • C# Dev Kit Previews .NET Aspire Orchestration

    Microsoft's dev team has been busy updating the C# Dev Kit, a Visual Studio Code extension that enhances the C# development experience by providing tools for managing, debugging, and editing C# projects.

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

Subscribe on YouTube

Upcoming Training Events