Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

12
Fun with .NET Windows Phone, LEGO Mindstorms, and Azure Dan Fernandez | Twitter:@danielfe

description

Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure Dan Fernandez .NET Conf UY 2014

Transcript of Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

Page 1: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

Fun with .NET Windows Phone, LEGO Mindstorms, and Azure

Dan Fernandez | Twitter:@danielfe

Page 2: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

Session Goals

• Usa Windows Phone communicando por Bluetooth para manejar a LEGO Mindstorm EV3• LEGO Mindstorms Overview

• .NET API is open source: Eric Havir, Clint Rutkas, and Brian Peek

• http://legoev3.codeplex.com

• Controle motores• Lee sensores

• Usa SignalR para a LEGO Mindstorm desde una pagina de web y deja ustedes manejar el Mindstorm• SignalR configuration• SignalR Cliente (Phone y browser) y Servicio

Page 3: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

LEGO Demo

Page 4: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

SignalR Demo

• Maneja using a web browser

• Communicacion• Windows Phone .NET Cliente recibe comandos del SignalR servicio y los manda

al LEGO usando Bluetooth

• JavaScript cliente para mandar y recibir comandos del browser

• Supporta data types

• Usa mesanjes mandados en real tiempo• Reduce HTTP requests, Manda nuevo datos usando eventos

Page 5: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

SignalR decide como communicar

Page 6: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

SignalR on Modern Servers & Clients

Page 7: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

SignalR Backplanes

Page 8: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

SignalR Backplane

Page 9: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

SignalR Demo

Web &

SignalR

Page 10: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

Vote DrivingInspired by Twitch plays Pokemon

SignalR

Page 11: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

Vote en vivo!

http://LegoBotWeb.azurewebsites.net/

Page 12: Fun with .NET - Windows Phone, LEGO Mindstorms, and Azure by Dan Fernandez

Mas Informacion

• Controlando LEGO usando .NET es facil• http://legoev3.codeplex.com

• SignalR es fantastico para mandar mandar y recibir mensajes• www.asp.net/signalr/

• SignalR backplane• http://www.asp.net/signalr/overview/performance/scaleout-in-signalr/