Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
SignalR Programming in Microsoft® ASP.NET Dedication Introduction
Who should read this book
Assumptions
Who should not read this book Organization of this book
Finding your best starting point in this book
Conventions and features in this book System requirements Code samples
Notes on the version Installing the code samples Using the code samples
Acknowledgments Errata & book support We want to hear from you Stay in touch
1. Internet, asynchrony, multiuser…wow! 2. HTTP: You are the client, and you are the boss
HTTP operations Polling: The answer? Push: The server takes the initiative
WebSockets Server-Sent Events (API Event Source) Push today
Long polling Forever frame
The world needs more than just push
3. Introducing SignalR
What does SignalR offer? Two levels of abstraction Supported platforms OWIN and Katana: The new kids on the block Installing SignalR
4. Persistent connections
Implementation on the server side
Mapping and configuring persistent connections Events of a persistent connection Sending messages to clients Asynchronous event processing Connection groups The OWIN startup class
Implementation on the client side
Initiating the connection by using the JavaScript client Support for older browsers Support for cross-domain connections Sending messages Receiving messages Sending additional information to the server Other events available at the client
Transport negotiation Adjusting SignalR configuration parameters Complete example: Tracking visitors
Project creation and setup Implementation on the client side
HTML markup (tracking.html) Scripts (Scripts/Tracking.js)
Implementation on the server side
Persistent connection (TrackerConnection.cs) Startup code (Startup.cs)
5. Hubs
Server implementation
Hub registration and configuration Creating hubs Receiving messages Sending messages to clients Sending messages to specific users State maintenance Accessing information about the request context Notification of connections and disconnections Managing groups Maintaining state at the server
Client implementation
JavaScript clients Generating the proxy Manual generation of JavaScript proxies Establishing the connection Sending messages to the server Sending additional information Receiving messages sent from the server Logging State maintenance Implementing the client without a proxy
Establishing the connection Invoking server methods State maintenance Receiving messages sent from the server
Complete example: Shared drawing board
Project creation and setup Implementation on the client side
HTML markup (drawingboard.html) Scripts (Scripts/DrawingBoard.js)
Implementation on the server side
Hub (DrawingBoard.cs) Startup code (Startup.cs)
6. Persistent connections and hubs from other threads
Access from other threads
External access using persistent connections Complete example: Monitoring connections at the server Project creation and setup Implementing the website
Page markup (default.aspx) Code-behind (default.aspx.cs)
System for tracing requests (server side)
Persistent connection (ConnectionSpy.cs) Startup code (Startup.cs) Application global class (Global.asax.cs) Optional changes in configuration (web.config)
System for tracing requests (client side)
Spying page (spy.html)
External access using hubs
Complete example: Progress bar Project creation and setup Implementation on the client side
HTML markup (progress.html) Styles (Styles/ProgressBar.css) Script (Scripts/ProgressBar.js)
Implementation on the server side
Hub Expensive process (HardProcess.Aspx) Startup code (startup.cs)
7. Real-time multiplatform applications
Multiplatform SignalR servers
SignalR hosting in non-web applications
Hosting in a console application SignalR in a Windows service
SignalR hosting in platforms other than Windows
Multiplatform SignalR clients
Accessing services from .NET non-web clients
Creating and opening a persistent connection Sending and receiving data using persistent connections Creating and opening connections to hubs Communication with the server using hubs Logging Example: Console application Example: Windows 8/Windows 8.1 application with C#/XAML Project creation and setup MainPage.xaml MainPage.xaml.cs Windows Phone 8 clients
Consumption of services from other platforms
8. Deploying and scaling SignalR
Growing pains Scalability in SignalR Scaling on backplanes
Windows Azure Service Bus
Configuring the service Activating the backplane
SQL Server
Configuring the database Activating the backplane
Redis
Installing Redis Activating the backplane
Custom backplanes Improving performance in SignalR services
Server configuration Monitoring performance
Connection activity Errors Activity in the messaging bus Scale-out providers Other useful performance counters
9. Advanced topics
Authorization in SignalR
Access control in persistent connections Access control in hubs Client authentication
An extensible framework Dependency Injection
Manual dependency injection Releasing dependencies Inversion of Control containers
SignalR with Unity SignalR with Ninject
Unit testing with SignalR
Unit testing of hubs Unit testing persistent connections
Intercepting messages in hubs Integration with other frameworks
Web API ASP.NET MVC Knockout AngularJS
A. About the author Index About the Author Copyright
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion