/
Building Real-time Applications with Building Real-time Applications with

Building Real-time Applications with - PowerPoint Presentation

jane-oiler
jane-oiler . @jane-oiler
Follow
388 views
Uploaded On 2017-05-08

Building Real-time Applications with - PPT Presentation

SignalR Brady Gaster DEVB416 email bradygmicrosoftcom web bradygastercom twitter bradygaster Brady Gaster Program Manager Azure SDK amp Visual Studio Web Tools Agenda What well be covering today ID: 546015

microsoft signalr web server signalr microsoft server web data amp time demo http studio visual real tools backplane client hub booth information

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Building Real-time Applications with" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1
Slide2

Building Real-time Applications with SignalR

Brady Gaster

DEV-B416Slide3

email: bradyg@microsoft.comweb: bradygaster.com

twitter: @bradygaster

Brady Gaster

Program Manager, Azure SDK & Visual Studio Web ToolsSlide4

Agenda

What we’ll be covering todayWhat is SignalR?The SignalR Hub Class & jQuery Plugin

SignalR & AngularJS

SignalR .NET Client

Calling SignalR Hub methods on the server

Authorization with SignalR

Scaling SignalR in web farms

Self-hosting SignalR using

OWINSlide5

SignalR is an abstraction that intelligently decides how to enable

real-time over HTTPSlide6

The SignalR Hub &jQuery Plugin

DemoSlide7

SignalR on Old-school Servers & Clients

When some lower-common denominator polling mechanism is needed

Web Server

HTML Client

Got Data?

Got Data?

Got Data?

Got Data?

Got Data?

Got Data?

Got Data?

Got Data?

Here’s some dataSlide8

SignalR on Modern Servers & Clients

When WebSockets

or some other real-time layer is supported

Web Server

HTML Client

I can party in real time. Can you?

Yep, I can party in real time

Let’s party in real time!Slide9

SignalR is built almost entirely using async

, so you don’t need to worry about blocking threadsSlide10

SignalR with Angular

DemoSlide11

Using SignalR’s

Native .NET ClientDemoSlide12

Calling a SignalR Hub from the Server

DemoSlide13

Authorization with SignalR

DemoSlide14

Hubs are server-bound, so you’ll need to use a

backplane if you’re running a web farmSlide15

How do Backplanes Work?

What does SignalR do without a backplane?

Web Server B

Web Server ASlide16

How do Backplanes Work?

Here’s how the Backplane solves the problem

Web Server A

Web Server B

BackplaneSlide17

Using a SignalR Backplane

DemoSlide18

Self-hosting SignalR using OWIN

DemoSlide19

Thanks for your time, I hope you enjoyed the session and that you start

partying with SignalR!Slide20

Visit the Developer Platform & Tools Booth

Having a

friend

buy

your coffee?

Yea, it’s kind of like that.

MSDN Subscribers get up to $150/

mo

in Azure credits.

Stop by the Developer Platform and Tools

booth and

visit

the MSDN

Subscriptions station

to activate your benefits and receive a gift

!http://aka.ms/msdn_teched

3 Steps to New

Gear! With

Application Insights

Create a Visual Studio Online account

http://visualstudio.com

Install Application Insights Tools for Visual

Studio Online

http://aka.ms/aivsix

Come to our booth for a

t-shirt and a chance to win!

VSIP QR Tag

Contests

Visit

our booth to

join the hunt for cool prizes!Slide21

Resources

Microsoft Engineering Stories

How

Microsoft Builds Software

http://

aka.ms/EngineeringStories

Visual Studio

Industry

Partner

Program

Meet Our New Visual Studio Online Partners

or

Join Now.

http://vsipprogram.com

Visual Studio | Integrate

Create Your Own Dev Environment

http://integrate.visualstudio.com

Development tools & services

for

teams

of all sizes

http

://www.visualstudio.com Slide22

Complete an evaluation

and

enter to win!Slide23

Evaluate this session

Scan this

QR

code

to evaluate

this

session.Slide24

©

2014

Microsoft Corporation. All rights reserved. Microsoft, Windows,

and

other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.