introducción a silverlight

35
SILVERLIGH T Raúl Mayo González CES Microsoft.Net [email protected] geeks.ms/blogs/ rmayo

Upload: ricardomeanag9

Post on 07-Nov-2014

1.769 views

Category:

Technology


0 download

DESCRIPTION

A little introduction to Silverlight

TRANSCRIPT

Page 1: Introducción a silverlight

SILVERLIGHT

Raúl Mayo GonzálezCES [email protected]/blogs/rmayo

Page 2: Introducción a silverlight

¿Sólo funciona en Windows?

¿Es exclusivamente Web?

¿Se integrará con mis proyectos?

¿R.I.A.?

¿XAML?

¿En que se basa?

¿Cómo Desarrollaré?

¿Cómo Diseñaré?

¿Qué oportunidades tendrán mis proyectos?

¿Navegador?

Page 3: Introducción a silverlight

AGENDA

• ¿Qué es Silverlight?

• Integración Diseñador

• ¿Qué podemos desarrollar con Silverlight 4?

• ¿Cómo obtener beneficios de nuestros proyectos?

Page 4: Introducción a silverlight

SILVERLIGHT•Permite la creación de Interfaz de usuario basadas en R.I.A.•Se ejecuta a través de un Plugin.

Page 5: Introducción a silverlight

•Multi-Plataforma:•Windows•Mac OSX•Linux

SILVERLIGHT

Page 6: Introducción a silverlight

•Multi-Navegador:• Internet Explorer• Firefox• Safari• Opera• Chrome

•Multi-Dispositivo:• Web• Escritorio• Móviles

SILVERLIGHT

Page 7: Introducción a silverlight

ARQUITECTURA SILVERLIGHT

Page 8: Introducción a silverlight

Silverlight 1Septiembre 2007

Page 9: Introducción a silverlight

Silverlight 2Octubre 2008

Silverlight 1Septiembre 2007

Page 10: Introducción a silverlight

Silverlight 3Julio 2009

Silverlight 1Septiembre 2007

Silverlight 2Octubre 2008

Page 11: Introducción a silverlight

Silverlight 4RCMarzo 2010

Silverlight 1Septiembre2007

Silverlight 2Octubre 2008

Silverlight 3Julio 2009

Page 12: Introducción a silverlight

Silverlight 1Septiembre 2007

Silverlight 2Octubre 2008

Silverlight 3Julio 2009

Silverlight 4 RCMarzo 2010

• Aplicaciones de Negocio• Media• Más Allá del Navegador

Silverlight 4RCHoy!!

Page 13: Introducción a silverlight

Silverlight 4 BetaOut of Browser Applications

Elevated Privileges Support (including Automation)HTML Hosting SupportNotifications

MediaWMS Multicast SupportMP4 Playback Protected by PlayReady DRMOffline DRMOutput ProtectionWebCam/Mic Support (raw stream only)

PrintingPrinting Support

TextRichTextBoxArabic and Hebrew Text SupportIME Improvements for TextBoxUIElement.TextInput event

Controls, Control Model, LayoutTheming via Implicit StylesViewBoxRTL Layout DataGrid * Column SupportItemsControl support for Blend Fluid LayoutMouseWheel Support on ScrollViewer, TextBox, ComboBox, Calendar, DatePickerVisualStateGroup.CurrentStateGroup propertyCommand Property on ButtonBase & HyperlinkSelectedValue and SelectedValuePath Properties on Selector

NavigationNavigation Loader Extensibility (Hook Frame Navigates)

Databinding ImprovementsDataBinding Support for DependencyObjectsStringFormat, TargetNullValue & FallBackValue Properties on BindingBinding to String IndexersIDataErrorInfo SupportAsynchronous Data Validation (INotifyDataErrorInfo)ObservableCollection<T> IList/IEnumerable cstrs

Graphics/ImagingSupport for more PNG FormatsUnseal PathCompositeTransform

NetworkingUDP ListenerAutomatically Adding Referer HeaderAuthentication Support on ClientHttpWebRequestMemory Usage Fix During Progressive Downloads

Tools SupportDispatcher Support on the Tools Design Surface

SDKADO.NET Data Services 2.0 SupportManaged Extensibility Framework (MEF)Better Transport for WCF (Socket Support)

OtherSupport for C# & VB.NET 4.0 FeaturesExpose Runtime Version to 3rd Party DLLs NGEN Support for Core Runtime BinariesGroup Policy Hooks to Disable WebCam & Elevated Apps

Page 14: Introducción a silverlight

Silverlight 4 RCParser

New architecture enables future innovationPerformance and stability improvementsXmlnsPrefix & XmlnsDefinition attributesSupport setting order-dependent properties

InputPinned full-screen mode on secondary displayHTML hosting accessibilityArabic, Hebrew and Thai input on Mac

Rich TextText position and selection APIsRichTextBox.Xaml property for serializing text contentXAML clipboard formatFlowDirection support on Runs“Format then type” supportThai & Vietnamese input supportUI Automation Text pattern

NetworkingUploadProgress support (client stack)Caching support (client stack)Sockets policy file retrieval via HTTPAccept-Language header

Out of Browser / Elevated TrustXAP signingSilent install and emulation modeCustom window chromeBetter support for AutomationCancelable shutdown eventUpdated security dialogsSockets security restrictions removal

MediaWebcam/Mic configuration previewMore descriptive MediaSourceStream errorsUpdates to H.264 content protection (ClearNAL)Digital Constraint TokenCGMS-AGraphics card driver validation & revocation

Graphics/ImagingHardware-accelerated Perspective TransformsAbility to query page size and printable areaMemory usage and perf improvements

DataEntity-level validation support of INotifyDataErrorInfo for DataGridXPath support for XML

SDKSystem.Numerics.dllSystem.Xml.XPath.dllDynamic XAP support (MEF)Frame/Navigation refresh support

OtherSupport for 32 new languages (41 total)Update to DeepZoom code base with HW accelerationSupport for Private mode browsingGoogle Chrome support (Windows)FrameworkElement.Unloaded eventIsoStore perf improvements

Page 15: Introducción a silverlight

XAMLDISEÑADORDESARROLLADOR

Page 16: Introducción a silverlight

¿XAML?

Page 17: Introducción a silverlight

XAML• eXtensible Application Markup Language• Esta basado en XML• Crea e inicializa objetos .Net• Lo podemos usar a partir del Framework .Net 3.0 • Es el lenguaje encargado de la creación de la Interfaz de

usuario• Nos permite separar la capa lógica de la capa de presentación• Facilita la incorporación del Diseñador en el ciclo de

desarrollo del software

Page 18: Introducción a silverlight

HERRAMIENTAS PARA DESARROLLAR SILVERLIGHT

DESARROLLO

DISEÑO

Page 19: Introducción a silverlight

HERRAMIENTAS PARA DESARROLLAR SILVERLIGHT

• Visual Studio 2008 Service Pack 1

• Silverlight 3 Tools para VS2008

• Expression Blend 3

Page 20: Introducción a silverlight

¿QUE PODEMOS DESARROLLAR CON SILVERLIGHT 4?

Smooth Streaming 3D

Webcam & Mic.

Deep Zoom

Drag & Drop

Imprimir

Page 21: Introducción a silverlight

ORIGEN CODIFICAR

Windows Media Encoder9

Windows Media Services 2008

+ ISS Media Services

SERVIDOR CLIENTE

Smooth Streaming

Page 22: Introducción a silverlight

Servidor de Smooth Streaming

Servidor de almacenamiento Caché

+Ancho de Banda

-Ancho de Banda

ISS Media Service

Smooth Streaming

Page 23: Introducción a silverlight

• Silverlight 4 puede acceder a los micrófonos y Webcams instaladas.

• La API permite la elección de los diferentes elementos instalados.

• Seguridad en el acceso.• Permite recoger Audio y capturar

secuencias de Video.

SOPORTE PARA WEBCAM Y MICROFONO

Page 24: Introducción a silverlight

Deep Zoom • Permite ver imágenes de alta resolución

de forma interactiva sin afectar al rendimiento de la aplicación.

• Permite una carga paulatina y un movimiento panorámico mediante el suministro imágenes de distintas resoluciones.

• Permite crear espacios virtuales en 3D

Page 25: Introducción a silverlight

•Proyección de un plano en X,Y,Z a través de objeto PlaneProjection•Representa elementos 2D en espacios 3D

Rotación eje X

Perspectiva 3D

Page 26: Introducción a silverlight

DRAG & DROP

• Permite arrastrar elementos externos a la aplicación y mostrarlos en la misma.

• Permite interactuar con los eventos Drag&Drop.

• Reducción de cuadros de dialogo y acciones del usuario.

• Soporta diversos formatos.

Page 27: Introducción a silverlight

IMPRIMIR

• Permite imprimir cualquier elemento de la interfaz de usuario.

• El proceso de impresión se controla a través de BeginPrint, PrintPage y EndPrint.

Page 28: Introducción a silverlight

¿Cómo obtener beneficios de nuestros proyectos?

Marketplace para estudiantes

Page 29: Introducción a silverlight

Marketplace para estudiantes

Page 30: Introducción a silverlight

30

Marketplace para estudiantes

Page 31: Introducción a silverlight

31

Marketplace para estudiantes

Page 32: Introducción a silverlight

32

DreamSpark

Page 33: Introducción a silverlight

Raúl Mayo GonzálezCES [email protected]/blogs/rmayo

Page 34: Introducción a silverlight

•www.silverlight.net/showcase/•www.silverlight.net/•http://marketplace.windowsphone.com•www.dreamspark.com/•www.smoothhd.com/•http://memorabilia.hardrock.com/•http://photosynth.net•www.cesnavarra.net

Page 35: Introducción a silverlight

Raúl Mayo GonzálezCES [email protected]/blogs/rmayo