08 | what’s next and resources jon galloway | tech evangelist christopher harrison | head geek

25
Click to edit Master subtitle style 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

Upload: melvyn-marshall

Post on 12-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

Click to edit Master subtitle style

08 | What’s Next and Resources

Jon Galloway | Tech EvangelistChristopher Harrison | Head Geek

Page 2: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

Module Overview

• ASP.NET SignalR

• Visual Studio 2013 and MVC 5 Sneak Preview

• ASP.NET Resources

Page 3: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

Introducing SignalR

• Abstraction over transports

• Events instead of task/async

• Connection management

• Broadcast or target specific client

Page 4: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

What does SignalR do?

• Client to Server persistent connection over HTTP

• Easily build multi-user, real-time web applications

• Auto-negotiates transport

Page 5: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

SignalR Fallback

Long Polling

Forever Frames

Server Sent Events

Web Sockets

Page 6: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

What does SignalR do?

• Allows server-to-client push and RPC• Built async to scale to 1000’s of

connections• Scale out with Service Bus,

SQL Server & Redis• Open Source on GitHub

Page 7: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

ClientBrowser

WebServer

HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?HTTP GET – Got data?

Page 8: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

ClientBrowser

WebServer

HTTP GET – You do realtime?

Sure, I’m a new server. I love realtime.

Let’s go!

Awesome

Page 9: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

SignarlR Hub - Server

public class ChatHub : Hub

{

public void SendMessage(String message)

{

Clients.addMessage(message);

}

}

Page 10: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

Chat with SignalR Hubs

var hub = $.connection.chat;

hub.addMessage = function (message) {

$("#msgs").append("<li>" + message + "</li>");

};

$.connection.hub.start().done(function () {

$("#send").click(function () {

hub.sendMessage($("#msg").val());

});

});

Page 11: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

DEMOUsing ASP.NET SignalR

Page 12: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

Click to edit Master subtitle style

Visual Studio Updates

Page 13: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

ASP.NET and Web Tools 2012.2(Included in Visual Studio Updates)

Page 14: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

• One ASP.NET

• Browser Link

• New HTML editor

• Azure website tooling

• Scaffolding

• Owin

• ASP.NET Identity

Visual Studio 2013 RC

Download and more info at: http://www.asp.net/vnext

Page 15: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

• One ASP.NET

• Browser Link

• New HTML editor

• Azure website tooling

• Scaffolding

• Owin

• ASP.NET Identity

Visual Studio 2013 RC

Download and more info at: http://www.asp.net/vnext

Page 16: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

• One ASP.NET

• Browser Link

• New HTML editor

• Azure website tooling

• Scaffolding

• Owin

• ASP.NET Identity

Visual Studio 2013 RC

Download and more info at: http://www.asp.net/vnext

Page 17: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

• One ASP.NET

• Browser Link

• New HTML editor

• Azure website tooling

• Scaffolding

• Owin

• ASP.NET Identity

Visual Studio 2013 RC

Download and more info at: http://www.asp.net/vnext

Page 18: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

• One ASP.NET

• Browser Link

• New HTML editor

• Azure website tooling

• Scaffolding

• Owin

• ASP.NET Identity

Visual Studio 2013 RC

Download and more info at: http://www.asp.net/vnext

Page 19: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

DEMOVisual Studio 2013 and MVC 5

Page 20: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

Click to edit Master subtitle style

Resources

Page 21: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

ASP.NET Questions

http://www.asp.net/feedback

Twitter - @aspnetFacebook - /ASPNETG+ - ASP.NET

Page 24: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

ASP.NET site

Page 25: 08 | What’s Next and Resources Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek

©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics 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.