jon galloway | tech evangelist christopher harrison | head geek
DESCRIPTION
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. Introducing SignalR. Abstraction over transports Events instead of task/ async - PowerPoint PPT PresentationTRANSCRIPT
Click to edit Master subtitle style
08 | What’s Next and Resources
Jon Galloway | Tech EvangelistChristopher Harrison | Head Geek
Module Overview
• ASP.NET SignalR
• Visual Studio 2013 and MVC 5 Sneak Preview
• ASP.NET Resources
Introducing SignalR
• Abstraction over transports
• Events instead of task/async
• Connection management
• Broadcast or target specific client
What does SignalR do?
• Client to Server persistent connection over HTTP
• Easily build multi-user, real-time web applications
• Auto-negotiates transport
SignalR Fallback
Long Polling
Forever Frames
Server Sent Events
Web Sockets
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
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?
ClientBrowser
WebServer
HTTP GET – You do realtime?
Sure, I’m a new server. I love realtime.
Let’s go!
Awesome
SignarlR Hub - Server
public class ChatHub : Hub
{
public void SendMessage(String message)
{
Clients.addMessage(message);
}
}
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());
});
});
DEMOUsing ASP.NET SignalR
Click to edit Master subtitle style
Visual Studio Updates
ASP.NET and Web Tools 2012.2(Included in Visual Studio Updates)
• 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
• 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
• 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
• 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
• 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
DEMOVisual Studio 2013 and MVC 5
Click to edit Master subtitle style
Resources
ASP.NET Questions
http://www.asp.net/feedback
Twitter - @aspnetFacebook - /ASPNETG+ - ASP.NET
Web Camps
http://www.devcamps.mshttp://aka.ms/webcamps-training-kit
Windows Azure
http://www.windowsazure.com
ASP.NET site
©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.