SignalR's natural environment is the Web, that's why we tend to prefer the JavaScript client for our examples that illustrate its features. Nevertheless, the .NET client is as important and relevant as the JavaScript one, and it definitely deserves to be analyzed too. This last recipe of the chapter will be a translation of what we did in the previous recipe, but here the JavaScript client code will be replaced by C# code hosted in a console application. The server-side portion of this example will be the same as the one we wrote in the previous recipe, hence we'll avoid repeating the same code here and we'll be connecting to that application instead, using the same approach we had been applying throughout Chapter 4, Using the .NET Hubs Client API.

SignalR Real-time Application Cookbook
By :

SignalR Real-time Application Cookbook
By:
Overview of this book
Table of Contents (18 chapters)
SignalR Real-time Application Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Understanding the Basics
Using Hubs
Using the JavaScript Hubs Client API
Using the .NET Hubs Client API
Using a Persistent Connection
Handling Connections
Analyzing Advanced Scenarios
Building Complex Applications
Creating Web Projects
Index
Customer Reviews