Fun with.NET Windows Phone, LEGO Mindstorms, and Azure Dan Fernandez | Twitter:@danielfe.
-
Upload
remigio-sibila -
Category
Documents
-
view
216 -
download
0
Transcript of Fun with.NET Windows Phone, LEGO Mindstorms, and Azure Dan Fernandez | Twitter:@danielfe.
Fun with .NET Windows Phone, LEGO Mindstorms, and Azure
Dan Fernandez | Twitter:@danielfe
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
LEGO Demo
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
SignalR decide como communicarWhen some lower-common denominator polling mechanism is needed
Web Servido
r
HTML Client
e
Tiene datos?Tiene datos?Tiene datos?Tiene datos?
Tiene datos?Tiene datos?Tiene datos?Tiene datos?
Aqui esta los datos
SignalR on Modern Servers & ClientsWhen WebSockets or some other real-time layer is supported
Web Servid
or
HTML Client
e
Puedes communicar en tiempo real?
Si puedo!
Communicamos en tiempo real (Web sockets)
SignalR BackplanesSin Backplanes, no puede comunicar con la segunda persona
Web Server B
Web Server A
SignalR Backplane Usa ServiceBus, Redis, o SQL Server
Servidor A
Servidor B
Backplane
SignalR Demo
Web &SignalR
Vote DrivingInspired by Twitch plays Pokemon
SignalR
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-s
ignalr/