SlideShare a Scribd company logo
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
www.sela.co.il
What is “Real Time”
experience
“Real Time” web techniques
What is signalR
SignalR protocol
Connection & Hub
Groups and private
messages
.Net client
Self Hosting
Scaleout
Polling
ForeverFrames
Long-Polling
ServerSentEvents
WebSocket
Realtime web open house
Realtime web open house
Realtime web open house
Realtime web open house
Web Socket Request
TCP Socket
ServerClient
Realtime web open house
• Not all servers support web sockets
• Not all network components support web sockets
• Its API is limited
• Code once, deploy everywhere
• As cross-platform as possible
• Simple API to work with
• Open source project
• Abstraction layer over connection technique
• Can be self-hosted
• Call client methods from the server
Polling
ForeverFrames
Long-Polling
ServerSentEvents
WebSocket
=
WebSocket
• Good performance
• Strict prerequisites
• Limited API
SignalR
• Abstraction layer
• Rich API
• Supports WebSocket
Realtime web open house
Negotiate request
Negotiate response
Connection phase
Client
Server
Realtime web open house
• WebSocket-like API
• Lower level code
• Provides us with more control
Realtime web open house
• Abstraction over signalR connection
• Service-like API
• Call clients methods from the server
Realtime web open house
• You can use connection ID
• You can access a particular client by it
Clients.Client(connectionId).sendMessage(message)
• Part of Hub API
• Stored on client
• Not persistent
Realtime web open house
_connection = new
HubConnection("http://localhost/RanWahle.Blog.SignalR.Demo");
IHubProxy proxy = connection.CreateHubProxy("soccerResultsHub");
_connection.Start().ContinueWith(
//define proxies
);
//invoke server methods
_proxy.Invoke(“HubServerMethod“ , args…));
Realtime web open house
• Three NuGet packages to install
• Create class with Configuration method.
• Map hub in the Configuration method
• Use the class as a type parameter to
WebApplication.Start
Realtime web open house
• signalR supports ASP.NET authentication &
authorization
• AuthorizeAttribute
• Accessing user data from context
• Authenticated request may downdgrade
to serverSentEvents in some clients.
Realtime web open house
• Install Microsoft.AspNet.SignalR.SqlServer nuget
• Add One line of code
• Your app is ready to scaleout
Realtime web open house
Real time experience is more than
just polling
Using signalR can use the best
available technique
It can be self hosted
It can scale out
It has several clients
Realtime web open house
• http://www.asp.net/signalr
• http://signalr.net/
• Twitters:@signalr @DamianEdwards @davidfowl and
@DavianFowlwards
• http://blogs.Microsoft.co.il/blogs/ranw
Realtime web open house
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
www.sela.co.il

More Related Content

PPTX
Realtime web experience with signalR
PPTX
Realtime Applications with Laravel - LaravelLive India Online Meetup Jun 2020
PPTX
Real time web applications with signal r
PPTX
Introduction to SignalR
PPTX
Real time Communication with Signalr (Android Client)
PPT
PPTX
Real-time ASP.NET with SignalR
PPT
Intro to signalR
Realtime web experience with signalR
Realtime Applications with Laravel - LaravelLive India Online Meetup Jun 2020
Real time web applications with signal r
Introduction to SignalR
Real time Communication with Signalr (Android Client)
Real-time ASP.NET with SignalR
Intro to signalR

What's hot (20)

PPTX
Secure rest api on microservices vws2016
PPSX
SignalR With ASP.Net part1
PDF
Introduction to SignalR
PPTX
SignalR Overview
PPTX
Building Realtime Web Applications With ASP.NET SignalR
PPTX
Web api security
PPTX
Api gateway in microservices
PPTX
SignalR with ASP.NET MVC 6
PPTX
«Real Time» Web Applications with SignalR in ASP.NET
PPTX
Real time web applications with SignalR (BNE .NET UG)
PPTX
SignalR with asp.net
PPTX
signalr
PPTX
Scale your signalR realtime web application
PPTX
SignalR for ASP.NET Developers
PPTX
SignalR
PPTX
Real Time Web with SignalR
PDF
CIS14: Early Peek at PingFederate Administrative REST API
PDF
Microservices & API Gateways
PDF
CIS14: Best Practices You Must Apply to Secure Your APIs
Secure rest api on microservices vws2016
SignalR With ASP.Net part1
Introduction to SignalR
SignalR Overview
Building Realtime Web Applications With ASP.NET SignalR
Web api security
Api gateway in microservices
SignalR with ASP.NET MVC 6
«Real Time» Web Applications with SignalR in ASP.NET
Real time web applications with SignalR (BNE .NET UG)
SignalR with asp.net
signalr
Scale your signalR realtime web application
SignalR for ASP.NET Developers
SignalR
Real Time Web with SignalR
CIS14: Early Peek at PingFederate Administrative REST API
Microservices & API Gateways
CIS14: Best Practices You Must Apply to Secure Your APIs
Ad

Viewers also liked (18)

PPTX
Cckt 2006 2010
PPTX
Critical thinking in Node.js
PPTX
Implementing jsp tag extensions
PDF
In Situ Bioremediation: When Does It Work?
PPTX
What’s new in ECMAScript 6.0
PPTX
Why TypeScript?
PDF
Hyderabad LISS III Image Interpretation (Using ERDAS Imagine)
PPTX
Protocolos
PPTX
ERDAS IMAGINE
PDF
Bec pelc+2010+-+science+and+health
PPTX
Oraclesql
PPTX
Network Security Terminologies
PDF
GEOLOGICAL - MINING EXPLORATION
PDF
#36.스프링프레임워크 & 마이바티스 (Spring Framework, MyBatis)_재직자환급교육,실업자교육,국비지원교육, 자바교육,구...
PPTX
Application of Basic Remote Sensing in Geology
PPTX
Typescript Fundamentals
PPTX
JavaScript Debugging Tips & Tricks
Cckt 2006 2010
Critical thinking in Node.js
Implementing jsp tag extensions
In Situ Bioremediation: When Does It Work?
What’s new in ECMAScript 6.0
Why TypeScript?
Hyderabad LISS III Image Interpretation (Using ERDAS Imagine)
Protocolos
ERDAS IMAGINE
Bec pelc+2010+-+science+and+health
Oraclesql
Network Security Terminologies
GEOLOGICAL - MINING EXPLORATION
#36.스프링프레임워크 & 마이바티스 (Spring Framework, MyBatis)_재직자환급교육,실업자교육,국비지원교육, 자바교육,구...
Application of Basic Remote Sensing in Geology
Typescript Fundamentals
JavaScript Debugging Tips & Tricks
Ad

Similar to Realtime web open house (20)

PPTX
Realtime web experience with signal r
PPTX
Signal rity1
PPTX
Signal r
PPTX
Real-Time Communication
PPTX
Real-time web applications using SharePoint, SignalR and Azure Service Bus
PPTX
Real-time Communications with SignalR
PPTX
SignalR Intro + WPDev
PPTX
ASP.NET MVC 5 and SignalR 2
PPTX
Building Real time Application with Azure SignalR Service
PPTX
Aplicaciones en tiempo real con SignalR
PPTX
Building Real Time Applications with ASP.NET SignalR 2.0 by Rachel Appel
PPTX
Signal R 2015
PPTX
SignalR powered real-time x-plat mobile apps!
PPTX
SignalR Dublin ALT.NET
PPTX
SignalR
PDF
4Developers 2018: Real-time capabilities in ASP.NET Core web applications (To...
PDF
SignalR: Add real-time to your applications
PPTX
SignalR Powered X-Platform Real-Time Apps!
PPTX
Asynchrone Echtzeitanwendungen für SharePoint mit SignalR und knockout.js
PPTX
How To Build Real-Time Applications With ASP.NET Core SignalR
Realtime web experience with signal r
Signal rity1
Signal r
Real-Time Communication
Real-time web applications using SharePoint, SignalR and Azure Service Bus
Real-time Communications with SignalR
SignalR Intro + WPDev
ASP.NET MVC 5 and SignalR 2
Building Real time Application with Azure SignalR Service
Aplicaciones en tiempo real con SignalR
Building Real Time Applications with ASP.NET SignalR 2.0 by Rachel Appel
Signal R 2015
SignalR powered real-time x-plat mobile apps!
SignalR Dublin ALT.NET
SignalR
4Developers 2018: Real-time capabilities in ASP.NET Core web applications (To...
SignalR: Add real-time to your applications
SignalR Powered X-Platform Real-Time Apps!
Asynchrone Echtzeitanwendungen für SharePoint mit SignalR und knockout.js
How To Build Real-Time Applications With ASP.NET Core SignalR

More from Ran Wahle (20)

PPTX
Implementing promises with typescripts, step by step
PPTX
HTML dialog element demonstration session
PPTX
MicroFrontend With Iframes, dirty laundry that can be cleaned
PPTX
Into React-DOM.pptx
PPTX
Lets go to the background
PPTX
Permissions api
PPTX
Lets go vanilla
PPTX
Custom elements
PPTX
Web workers
PPTX
Using legacy code with micro frontends
PPTX
Ngrx one-effect
PPTX
Angular migration
PPTX
Javascript async / await Frontend-IL
PPTX
Boost js state management
PPTX
Angular 2.0 change detection
PPTX
Code migration from Angular 1.x to Angular 2.0
PPTX
Async patterns in javascript
PPTX
Angular js 2
PPTX
Asyncawait in typescript
PPTX
Angular%201%20to%20angular%202
Implementing promises with typescripts, step by step
HTML dialog element demonstration session
MicroFrontend With Iframes, dirty laundry that can be cleaned
Into React-DOM.pptx
Lets go to the background
Permissions api
Lets go vanilla
Custom elements
Web workers
Using legacy code with micro frontends
Ngrx one-effect
Angular migration
Javascript async / await Frontend-IL
Boost js state management
Angular 2.0 change detection
Code migration from Angular 1.x to Angular 2.0
Async patterns in javascript
Angular js 2
Asyncawait in typescript
Angular%201%20to%20angular%202

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
KodekX | Application Modernization Development
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
sap open course for s4hana steps from ECC to s4
Advanced methodologies resolving dimensionality complications for autism neur...
“AI and Expert System Decision Support & Business Intelligence Systems”
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Network Security Unit 5.pdf for BCA BBA.
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
NewMind AI Weekly Chronicles - August'25 Week I
Reach Out and Touch Someone: Haptics and Empathic Computing
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Review of recent advances in non-invasive hemoglobin estimation
Per capita expenditure prediction using model stacking based on satellite ima...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Big Data Technologies - Introduction.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KodekX | Application Modernization Development
Unlocking AI with Model Context Protocol (MCP)
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Diabetes mellitus diagnosis method based random forest with bat algorithm
sap open course for s4hana steps from ECC to s4

Realtime web open house