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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube