Pro ASP.NET SignalR [electronic resource] : Real-Time Communication in .NET with SignalR 2.1 /
Nayyeri, Keyvan.author.
White, Darren.author.
ASP.NET SignalR is the new solution to real-time communication between servers and clients in .NET. Use it to push new data to a web page or mobile device as soon as it becomes available, whether it's a notification, live chat, up-to-the-minute financial data, or a range of other exciting applications. Innovations like Google live search and live Facebook and Twitter updates are pushing users' expectations of the real-time web. With Pro ASP.NET SignalR, you can join this revolution and learn skills that will be valuable for years to come. Pro ASP.NET SignalR starts with an introduction to the real-time web. Learn about the technologies underlying the SignalR library, such as WebSockets and long-polling, and how SignalR elegantly flips between them depending on the capabilities of the client. Next, meet the concepts of hubs and persistent connections and how to use them to build the components of an ASP.NET SignalR application. Find out how to extend, test, debug, configure, scale, and host your applications, and how to target a range of clients, including Windows and iOS. The book rounds off with two case studies-a stock market price updater, and a collaborative drawing application-so you can get to grips with SignalR in a realistic scenario, using a broad range of the concepts covered in earlier chapters. As real-time updates to web and mobile apps become the norm, Pro ASP.NET SignalR will be your in-depth, one-stop companion to this new and exciting technology.
Contents at a Glance; Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Introduction to the Real-Time Web and ASP.NET SignalR; Evolution of the Internet; Why the Client-Side Experience Is More Important than Ever; Real-Time Web Application Development; Examples of Real-Time Web Application Development; Facebook; Twitter; Google Search; Google Docs; JabbR; ShootR; History of ASP.NET SignalR; What Is ASP.NET SignalR?; ASP.NET SignalR Architecture; Main Challenges for Real-Time Web Development; Transport Options; Long Polling; Forever Frame
Server-Sent EventWebSockets; How ASP.NET SignalR Uses Transports; Summary; Chapter 2: Overview of SignalR; Technologies Behind SignalR; Open Web Interface for .NET ( OWIN); Connection Transports; Dependency Resolver; Inversion of Control; Inversion of Control Container; Dependency Resolver Example; Task Parallel Library; Message Backplanes; Supported Server Platforms and Clients; Server Platforms; Client Platforms; Getting Started with SignalR; NuGet; Package Manager Dialog Box; Package Manager Console; Important SignalR NuGet Packages; First Sample Application; When to Use SignalR
Understanding the User ExperienceGeneral Categories of SignalR Applications; When Not to Use SignalR; Extensibility of SignalR; OWIN Components; IoC Containers; Scaling Out with Message Backplanes; SQL Server; Windows Azure Service Bus; Redis; Limitations of SignalR; Server Platform Limitations; Client Platform Limitations; Message Backplane Limitations; External Limitations; Summary; Chapter 3: Developing SignalR Applications Using Hubs; Overview of Hubs; Getting Started with Hubs; Route Configuration; Customize the Hubs Proxy Location; Cross-Domain Connections; Multiple Hub Declaration
Custom Hub NamesCustom Types; Groups; Accessing Particular Clients; Connection Lifetime Management; Context; State Management; Tracing; HubDispatcher; HubPipelineModule; Summary; Chapter 4: Developing SignalR Applications Using Persistent Connections; What Is a Persistent Connection?; Properties of a Persistent Connection; How Persistent Connection Works; Using a Persistent Connection Instead of a Hub; How to Configure Persistent Connections; Persistent Connection Route Configuration; Mapping Routes in Startup.cs; Global Timeout and Keep-Alive Configurations; HostContext Configuration
SupportsWebSocketsWebSocketServerUrl; Server Communication to Clients Over Persistent Connections; Negotiation; Negotiation Properties; URL; ConnectionId; ConnectionToken; KeepAliveTimeout; DisconnectTimeout; TryWebSockets; WebSocketsServerUrl; ProtocolVersion; TransportConnectTimeout; Client Negotiation; Ping; Connect; Send; Poll; Abort; Signaling Between Server and Clients; Server-side Events; OnReceived; OnConnected; OnDisconnected; OnReconnected; OnRejoiningGroups; AuthorizeRequest; Client-side Events; Received; Error; Closed/Disconnected; Reconnecting; Reconnected; StateChanged
ConnectionSlow
Includes index.
ASP.NET SignalR is the new solution to real-time communication between servers and clients in .NET. Use it to push new data to a web page or mobile device as soon as it becomes available, whether it's a notification, live chat, up-to-the-minute financial data, or a range of other exciting applications. Innovations like Google live search and live Facebook and Twitter updates are pushing users' expectations of the real-time web. With Pro ASP.NET SignalR, you can join this revolution and learn skills that will be valuable for years to come. Pro ASP.NET SignalR starts with an introduction to the real-time web. Learn about the technologies underlying the SignalR library, such as WebSockets and long-polling, and how SignalR elegantly flips between them depending on the capabilities of the client. Next, meet the concepts of hubs and persistent connections and how to use them to build the components of an ASP.NET SignalR application. Find out how to extend, test, debug, configure, scale, and host your applications, and how to target a range of clients, including Windows and iOS. The book rounds off with two case studies-a stock market price updater, and a collaborative drawing application-so you can get to grips with SignalR in a realistic scenario, using a broad range of the concepts covered in earlier chapters. As real-time updates to web and mobile apps become the norm, Pro ASP.NET SignalR will be your in-depth, one-stop companion to this new and exciting technology.
Active server pages.
Microsoft .NET Framework.
Microsoft software.
Microsoft .NET Framework.
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.