SlideShare a Scribd company logo
3
Most read
10
Most read
13
Most read
SignalR Overview:
How Web Pages can get all the Real-
time Fun?
• Overview of ASP.NET SignalR
• How SignalR can be used for realtime
communications
Agenda
What is ASP.Net SignalR?
Real-time, persistent connection abstraction over HTTP
for .NET
Largest followed C# repo on GitHub
Simple and powerful API’s
Many techniques use to keep the logical connection up,
including retry logic if transports fail
Scale-out to web-farms using backplanes
Here’s some data!
Yeah, dude!
SignalR Connections
Many techniques used to maintain connection
• WebSockets
• bidirectional stream
• Server Sent Events
• Push notifications from server to browser using DOM events
• Forever Frame
• uses HTTP 1.1 chunked encoding to establish a single long-lived
HTTP connection in a hidden iframe
• Internet Explorer only
• Long Polling
• hit the server hit the server hit the server hit the server hit server
and hope something comes back with data
Clients
.NET
JavaScript
iOS
Hosts
ASP.NET
OWIN
Backplanes
SQL
Service Bus
Redis
Transport
Internet
Explorer
Chrome
(Windows or
iOS)
Firefox
Safari
(OSX or iOS)
Android
WebSockets 10+ current - 1 current - 1 current - 1 N/A
Server-Sent
Events
N/A current - 1 current - 1 current - 1 N/A
ForeverFrame 8+ N/A N/A N/A 4.1
Long Polling 8+ current - 1 current - 1 current - 1 4.1
SignalR Overview
Web API
Controll
er
SignalR
Hub
Microsoft.AspNet.SignalR
.GlobalHost.ConnectionManager
.GetHubContext<MessageHub>()
.Clients.All.onMessageReceived(message);
PersistentConnection And Hub
The two primary components in SignalR are hubs and
persistent connections.
Connection persistence is how the server can
communicate with one or more clients.
The vehicle to communicate with clients is a hub.
Clients.All.doWork()Clients.Caller.doWork()Clients.Others.doWork()
PersistentConnection
- Easiest implementation
- Has to have message type embed in the payload
to support different types of messages with different
payloads.
Hub – RPC over a connection
- Allows call methods on the client from the server
and from the server to the client
- Allows to pass strongly typed parameters to
methods
PersistentConnection Vs Hub
Scale-Out
Web Nodes
Clients
Backplane
Backplane
Scale-Out
Three options for deploying backplane
- Service Bus
- SQL Server
- Redis
Open source in memory database that persists on disk
Requires libraries from the GitHub project currently not
in Microsoft SignalR
SignalR Demo
SignalR Examples
JabbR
http://jabbr.net
ShootR
http://shootr.signalr.net
Resources
ASP.NET SignalR
http://signalr.net
http://www.asp.net/signalr
BUILD
http://www.buildwindows.com/
3-034 - Building Real-time Web Apps with ASP.NET SignalR

More Related Content

PPTX
RPA Uipath Presentation.pptx
PDF
What is Robotic Process Automation?
PPTX
Routing protocols for ad hoc wireless networks
PDF
Chat Application [Full Documentation]
PPT
Services Marketing
PPT
FUNCTIONS IN c++ PPT
DOC
Especificação de requisitos
RPA Uipath Presentation.pptx
What is Robotic Process Automation?
Routing protocols for ad hoc wireless networks
Chat Application [Full Documentation]
Services Marketing
FUNCTIONS IN c++ PPT
Especificação de requisitos

What's hot (20)

PDF
Introduction to SignalR
PPT
Intro to signalR
PPTX
SignalR with asp.net
PPTX
Introduction to SignalR
PPTX
Real-time ASP.NET with SignalR
PPTX
SignalR for ASP.NET Developers
PDF
Microservices with Java, Spring Boot and Spring Cloud
PDF
React Server Side Rendering with Next.js
PDF
Spring Boot & Actuators
PDF
Api Gateway
PPTX
REST-API introduction for developers
PPTX
Dependency injection presentation
PPTX
Introduction to spring boot
PPT
PDF
Understanding MicroSERVICE Architecture with Java & Spring Boot
PDF
Spring boot introduction
PDF
Introduction to Spring Cloud
PPTX
Spring boot Introduction
PPTX
Kubernetes
PDF
Rest web services
Introduction to SignalR
Intro to signalR
SignalR with asp.net
Introduction to SignalR
Real-time ASP.NET with SignalR
SignalR for ASP.NET Developers
Microservices with Java, Spring Boot and Spring Cloud
React Server Side Rendering with Next.js
Spring Boot & Actuators
Api Gateway
REST-API introduction for developers
Dependency injection presentation
Introduction to spring boot
Understanding MicroSERVICE Architecture with Java & Spring Boot
Spring boot introduction
Introduction to Spring Cloud
Spring boot Introduction
Kubernetes
Rest web services
Ad

Similar to SignalR Overview (20)

PPTX
Real-time Communications with SignalR
PPTX
IoT with SignalR & .NET Gadgeteer - NetMF@Work
PPTX
Building Realtime Web Applications With ASP.NET SignalR
PPTX
Real time Communication with Signalr (Android Client)
PPTX
Aplicaciones en tiempo real con SignalR
PPTX
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...
PPTX
Overview of SignalR
PPTX
Signal R 2015
PPTX
CocoaConf: The Language of Mobile Software is APIs
PPTX
Real Time Web with SignalR
PPTX
SignalR powered real-time x-plat mobile apps!
PDF
Web server
PDF
0130225347
PPTX
SignalR Powered X-Platform Real-Time Apps!
PDF
WebRTC
PDF
Real time web apps
PPTX
PDF
Using communication and messaging API in the HTML5 world - GIl Fink, sparXsys
PDF
Building high performance microservices in finance with Apache Thrift
PDF
Adding Real-time Features to PHP Applications
Real-time Communications with SignalR
IoT with SignalR & .NET Gadgeteer - NetMF@Work
Building Realtime Web Applications With ASP.NET SignalR
Real time Communication with Signalr (Android Client)
Aplicaciones en tiempo real con SignalR
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...
Overview of SignalR
Signal R 2015
CocoaConf: The Language of Mobile Software is APIs
Real Time Web with SignalR
SignalR powered real-time x-plat mobile apps!
Web server
0130225347
SignalR Powered X-Platform Real-Time Apps!
WebRTC
Real time web apps
Using communication and messaging API in the HTML5 world - GIl Fink, sparXsys
Building high performance microservices in finance with Apache Thrift
Adding Real-time Features to PHP Applications
Ad

More from Michael Sukachev (8)

PPTX
SOA vs Microservices vs SBA
PDF
TOGAF Sample Matrices, Catalogs and Diagrams from the Open Group
PDF
TOGAF®9.1 in Pictures
DOCX
EA practice establishment - Strawman plan
DOCX
Basic set of core TOGAF artifacts and deliverables by ADM phase
PPTX
Agile Architecture And The Role Of The Architect In The Agile Team
PPTX
Personal Information Protection and Electronic Documents Act (PIPEDA) and Imp...
PPTX
Practical Enterprise Architecture in Medium-size Corporation using TOGAF
SOA vs Microservices vs SBA
TOGAF Sample Matrices, Catalogs and Diagrams from the Open Group
TOGAF®9.1 in Pictures
EA practice establishment - Strawman plan
Basic set of core TOGAF artifacts and deliverables by ADM phase
Agile Architecture And The Role Of The Architect In The Agile Team
Personal Information Protection and Electronic Documents Act (PIPEDA) and Imp...
Practical Enterprise Architecture in Medium-size Corporation using TOGAF

Recently uploaded (20)

PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
L1 - Introduction to python Backend.pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
System and Network Administration Chapter 2
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
history of c programming in notes for students .pptx
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Introduction to Artificial Intelligence
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
System and Network Administraation Chapter 3
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Nekopoi APK 2025 free lastest update
PDF
Understanding Forklifts - TECH EHS Solution
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
L1 - Introduction to python Backend.pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
System and Network Administration Chapter 2
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
history of c programming in notes for students .pptx
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Introduction to Artificial Intelligence
Navsoft: AI-Powered Business Solutions & Custom Software Development
Odoo Companies in India – Driving Business Transformation.pdf
System and Network Administraation Chapter 3
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Nekopoi APK 2025 free lastest update
Understanding Forklifts - TECH EHS Solution
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf

SignalR Overview

Editor's Notes

  • #4: Local context Access to the file system and devices, and can make cross-domain HTTP requests Web context Externally downloaded code Must use iframe element
  • #7: Local context Access to the file system and devices, and can make cross-domain HTTP requests Web context Externally downloaded code Must use iframe element
  • #9: More details on all supported platforms - http://www.asp.net/signalr/overview/getting-started/supported-platforms
  • #10: More details on all supported platforms - http://www.asp.net/signalr/overview/getting-started/supported-platforms