SlideShare a Scribd company logo
Building Realtime Web Applications With ASP.NET SignalR
Your Presenter
Shravan Kumar Kasagoni
Software Engineer @ Thomson Reuters
Microsoft MVP – ASP.NET / IIS | MCP
Microsoft User Group Hyderabad
http://theshravan.net
@techieshravan
Agenda
Introduction to real-time apps
What is SignalR?
Demos
SignalR Components
Scaleout SignalR
Real-time Application?
Real-time functionality is the ability to have
server code push content to connected clients
instantly as it becomes available, rather than
having the server wait for a client to request new
data.
Why Real-time?
Users want the latest info,
NOW!
Show Me Some Examples
 Twitter, Facebook, Mail - live searches/updates
 Stock streamers
 Auctions
 Interactive games
 Live Scores
 Collaborative apps (google docs, office web
apps)
 Live user analytics (live graphs)
How to build real-time web apps?
HTTP is an old beast…
Never designed for real-time
communications
 Web is all about request-response
 Web is stateless
Building Realtime Web Applications With ASP.NET SignalR
Periodic polling
 Poll from time to time using Ajax
 Delay in communication due to polling interval
 Wastes bandwidth & latency
Server
Client
Polling interval
Long polling
 Poll but doesn’t respond until there's data
 Poll again after data received or after the connection
times out
 Consumes server & threads & connection resources
Server
Client
Forever Frame
 Server tells client that response is chucked
 Client keeps connection open until server closes it
 Server pushed data to the client followed by 0
 Consumes server threads
Server
Client
HTML5 Web sockets
 Extension to HTTP
 Provides raw sockets over HTTP
 Full-duplex
 Traverses proxies
 It's still a draft
 Not every proxy server supports it
 Not every web server supports it
 Not every browser supports it
 They are raw sockets!
too many options
Building Realtime Web Applications With ASP.NET SignalR
Building Realtime Web Applications With ASP.NET SignalR
What is SignalR?
An open-source series of libraries that provide an
abstraction around persistent HTTP connections
SignalR makes real-time HTTP so easy
it seems like magic that it works
[In English, please]
SignalR on Old Servers or Clients
SignalR on New Servers and Clients
Basically…
What does SignalR do?
 Client to Server Persistent connection
over HTTP
 Easily build multi-user, real-time web
applications
 Auto-negotiates transport
Building Realtime Web Applications With ASP.NET SignalR
SignalR Fallback
Long
Polling
Forever
Frame
Server
Sent
Events
Web
Sockets
Building Realtime Web Applications With ASP.NET SignalR
Building Realtime Web Applications With ASP.NET SignalR
http://shootr.signalr.net
http://firework.cloudapp.net
Building Realtime Web Applications With ASP.NET SignalR
CLIENTS
BACKPLANESHOSTS
Building Realtime Web Applications With ASP.NET SignalR
Three backplanes
 Windows Azure Service Bus
 SQL Server
 Redis
Backplane
Load balancing via a common transport mechanism
References
http://www.asp.net/signalr/
http://signalr.net/
https://github.com/SignalR/SignalR/wiki
Keep in touch
http://theshravan.net
@techieshravan
shravan.kasagoni@outlook.com
Building Realtime Web Applications With ASP.NET SignalR

More Related Content

PPTX
Introduction to SignalR
PPTX
Real time Communication with Signalr (Android Client)
PPTX
Real-time ASP.NET with SignalR
PDF
Introduction to SignalR
PPSX
SignalR With ASP.Net part1
PPTX
SignalR with asp.net
PPTX
SignalR for ASP.NET Developers
PPT
Intro to signalR
Introduction to SignalR
Real time Communication with Signalr (Android Client)
Real-time ASP.NET with SignalR
Introduction to SignalR
SignalR With ASP.Net part1
SignalR with asp.net
SignalR for ASP.NET Developers
Intro to signalR

What's hot (20)

PPTX
SignalR Overview
PPTX
Real-time Communications with SignalR
PPTX
Real time web with SignalR
PPTX
Building Real Time Web Applications with SignalR (NoVA Code Camp 2015)
PPTX
SignalR with ASP.NET MVC 6
PPT
PPTX
signalr
PPSX
Signalr with ASP.Net part2
PDF
SignalR
PPTX
Web Real-time Communications
PPTX
Real time web applications with SignalR (BNE .NET UG)
PPTX
SignalR. Code, not toothpaste - TechDays Belgium 2012
PPTX
«Real Time» Web Applications with SignalR in ASP.NET
PPTX
SignalR
PPTX
Scale your signalR realtime web application
PPTX
Microsoft signal r
PPT
Getting started with ASPNET Core SignalR
PPTX
Real time websites and mobile apps with SignalR
PPTX
Api gateway in microservices
PPTX
Clean up this mess - API Gateway & Service Discovery in .NET
SignalR Overview
Real-time Communications with SignalR
Real time web with SignalR
Building Real Time Web Applications with SignalR (NoVA Code Camp 2015)
SignalR with ASP.NET MVC 6
signalr
Signalr with ASP.Net part2
SignalR
Web Real-time Communications
Real time web applications with SignalR (BNE .NET UG)
SignalR. Code, not toothpaste - TechDays Belgium 2012
«Real Time» Web Applications with SignalR in ASP.NET
SignalR
Scale your signalR realtime web application
Microsoft signal r
Getting started with ASPNET Core SignalR
Real time websites and mobile apps with SignalR
Api gateway in microservices
Clean up this mess - API Gateway & Service Discovery in .NET
Ad

Similar to Building Realtime Web Applications With ASP.NET SignalR (20)

PPTX
Real Time Web with SignalR
PPTX
IoT with SignalR & .NET Gadgeteer - NetMF@Work
PPTX
Real time web applications with signal r
PPTX
Signal R 2015
PPT
Asynchronous Mobile Web Services:
PPTX
Building Real time Application with Azure SignalR Service
PPTX
Aplicaciones en tiempo real con SignalR
PDF
Real time web apps
PPTX
Behind the scenes of Real-Time Notifications
PDF
What is a WebSocket? Real-Time Communication in Applications
PDF
PPTX
Difference between Client Polling vs Server Push vs Websocket vs Long Polling
PPTX
apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...
PDF
An In-Depth Comparison of WebSocket and SignalR: Pros, Cons, and Use Cases
PPTX
Real Time Apps with SignalR Core
PPTX
ASP.NET MVC 5 and SignalR 2
PPTX
Messaging for Real-time WebApps
PPTX
Unit 3-SOA Technologies
PPTX
High volume real time contiguous etl and audit
PPTX
Fight empire-html5
Real Time Web with SignalR
IoT with SignalR & .NET Gadgeteer - NetMF@Work
Real time web applications with signal r
Signal R 2015
Asynchronous Mobile Web Services:
Building Real time Application with Azure SignalR Service
Aplicaciones en tiempo real con SignalR
Real time web apps
Behind the scenes of Real-Time Notifications
What is a WebSocket? Real-Time Communication in Applications
Difference between Client Polling vs Server Push vs Websocket vs Long Polling
apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...
An In-Depth Comparison of WebSocket and SignalR: Pros, Cons, and Use Cases
Real Time Apps with SignalR Core
ASP.NET MVC 5 and SignalR 2
Messaging for Real-time WebApps
Unit 3-SOA Technologies
High volume real time contiguous etl and audit
Fight empire-html5
Ad

More from Shravan Kumar Kasagoni (20)

PPTX
ASP.NET Core – Deep Dive on Building a Real Website
PPTX
Cross-Platform Mobile Development using Visual Studio and Xamarin
PPTX
DevOps - Continuous Integration & Continuous Deployment - with Microsoft & Op...
PPTX
Angular 2 with TypeScript
PPTX
Building Next Generation Web Apps and Services using ASP.NET 5
PPTX
Writing Application-Scale JavaScript:TypeScript
PPTX
Running, improving and maintaining a site in the real world
PDF
Introduction to Xamarin
PPTX
Windows Store Application Development using HTML5
PPTX
Windows Azure Web Sites - REBOOT 2014
PPTX
Introduction to cloud computing
PDF
Cross Platform, Native Mobile Application Development Using Xamarin and C#
PPTX
Open Web Interface for .Net
PPTX
Building Mobile Web Applications using ASP.NET MVC
PPTX
Glance at Visual Studio 2013 ASP.NET and Web tools 2013
PPTX
Windows Azure WebSites
PPTX
Introduction to Word 2013
PPTX
PPTX
Building Single Page Apps for desktop, mobile, tablet with ASP.NET MVC 4
PPTX
Introduction to Windows Phone
ASP.NET Core – Deep Dive on Building a Real Website
Cross-Platform Mobile Development using Visual Studio and Xamarin
DevOps - Continuous Integration & Continuous Deployment - with Microsoft & Op...
Angular 2 with TypeScript
Building Next Generation Web Apps and Services using ASP.NET 5
Writing Application-Scale JavaScript:TypeScript
Running, improving and maintaining a site in the real world
Introduction to Xamarin
Windows Store Application Development using HTML5
Windows Azure Web Sites - REBOOT 2014
Introduction to cloud computing
Cross Platform, Native Mobile Application Development Using Xamarin and C#
Open Web Interface for .Net
Building Mobile Web Applications using ASP.NET MVC
Glance at Visual Studio 2013 ASP.NET and Web tools 2013
Windows Azure WebSites
Introduction to Word 2013
Building Single Page Apps for desktop, mobile, tablet with ASP.NET MVC 4
Introduction to Windows Phone

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
Spectroscopy.pptx food analysis technology
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
KodekX | Application Modernization Development
PDF
NewMind AI Monthly Chronicles - July 2025
Mobile App Security Testing_ A Comprehensive Guide.pdf
The AUB Centre for AI in Media Proposal.docx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Per capita expenditure prediction using model stacking based on satellite ima...
NewMind AI Weekly Chronicles - August'25 Week I
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Modernizing your data center with Dell and AMD
Spectroscopy.pptx food analysis technology
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Chapter 3 Spatial Domain Image Processing.pdf
madgavkar20181017ppt McKinsey Presentation.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
MYSQL Presentation for SQL database connectivity
Dropbox Q2 2025 Financial Results & Investor Presentation
Advanced Soft Computing BINUS July 2025.pdf
GamePlan Trading System Review: Professional Trader's Honest Take
Reach Out and Touch Someone: Haptics and Empathic Computing
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KodekX | Application Modernization Development
NewMind AI Monthly Chronicles - July 2025

Building Realtime Web Applications With ASP.NET SignalR