Real-Time Web Apps:

Introduction to ASP.NET SignalR

By Konstantinos Ziazios

4o Community Event ❄☃❄☃❄☃❄☃

Agenda

  • Motivation
  • Brief History
  • How it works
  • DEMO 1
  • DEMO 2
  • MORE DEMO

Motivation

What is Signal-R ?

How can I use it to have
real time communication

A Story

Web Evolution:

  • Static html
  • dynamic (html + javascript)
  • async (ajax)
  • next : Real Time (comet, web sockets)
    web sockets: protocol providing full-duplex communications channels over a single TCP connection

 

Real Time

Real Time over Web

  • Real time experience is engaging for the user
  • Instant data in any platform
  • Real-time feedback / real-time notification

 

HTTP

Push Over Http

  • Periodic Polling
  • Long Polling (comet)
  • Forever frame approach
  • Server Send Events
  • Web Sockets: Easy!

 

Real Time

Problem!!!

Solution

Signal-R

  • Offers abstraction!
  • Persistent connection, but volatile.
  • From developer perspective is like a service on steroids
  • No routing
  • Open source!
  • Is not a message queue!

 

Text

DEMO

Starting

DEMO

Step By Step

 

Future

Cross-Platform

Streaming?

Scale-up:

Azure Message

Redis

Message Bus

 

 

 

Resources

  • http://www.asp.net/signalr/overview/getting-started
  • Pluralsight
  • Scott Hanselman blog

 

 

 

 

Future

Thank you!!!

Ziazios Konstantinos

twitter: @ziazios

email: ziazios@gmail.com

code: https://github.com/ThessalonikiNet-MeetUp/Presentations

Real-Time Web Apps: Introduction to ASP.NET SignalR

By Ziazios Constantinos

Real-Time Web Apps: Introduction to ASP.NET SignalR

This is a presentation for Thessaloniki.net MeetUp fo 19 December, 2014

  • 891