• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

ASP.NET SignalR Backplane Overview

SignalR allows developers to create real-time ASP.NET web applications, where the server broadcasts the updates to all registered clients as soon as an update is triggered. This reduces the delay caused by the client's requests for updates.

Note

This feature is also available in the NCache Community Edition.

A simple example of SignalR implementation is an online chatroom. Multiple clients are connected to multiple web servers in a farm. These clients send messages to each other, where the message content is displayed as soon as it is sent to the receiving client. This eliminates the need to refresh the webpage every time to request new messages, as the server broadcasts the messages to all clients as soon as the client state is updated.

NCache offers support for SignalR by providing an extension to the SignalR provider. All concerned web servers for the application are registered against the provider. Meanwhile, the clients are connected to their respective web servers. In NCache, as soon as a client registers itself against the web server, two key features of NCache come into play:

  1. Custom Events: The provider fires an event as soon as a client operates. This event triggers all web servers to immediately update their clients according to the latest state, thereby cutting down on the waiting duration for a client to check on updates.

  2. CacheItem.Version: As soon as a client is registered against a web server, an item is added to NCache with a user-specified event key. Every time the client operates, the version of the cache item is updated, triggering an event registered against the provider. This allows for instant replication of the client state across all connected clients, which causes the real-time effect.

Note

For production use, it is recommended to run the NCache backplane in the same data center as the SignalR application.

In This Section

NCache Extension for ASP.NET SignalR Backplane
Explains how NCache's extended method can be used to utilize SignalR in your ASP.NET applications.

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top