420 likes | 546 Vues
Sascha P. Corti Microsoft Switzerland sascha.corti@microsoft.com http://www.corti.com/weblogsascha http://twitter.com/techpreacher. M sdn TechTalk Microsoft Silverlight 1.0. Introducing Microsoft Silverlight. Microsoft Silverlight is a cross-browser, cross-platform plug-in for delivering
E N D
Sascha P. CortiMicrosoft Switzerlandsascha.corti@microsoft.comhttp://www.corti.com/weblogsascha http://twitter.com/techpreacher Msdn TechTalkMicrosoft Silverlight 1.0
Microsoft Silverlight • is a • cross-browser,cross-platformplug-in • for delivering • the next generation of • .NET-based • media experiences • & • rich interactive applications (RIAs) • for theWeb
desktop web desktop web media & RIA
Microsoft & Competitive Development Technologies Web Desktop JSP / PHP ColdFusion Mac OS Server Vista AJAX Libraries Linux “Apollo” LAMP Media & RIA Cross Browser & Platform Microsoft Flash & Flex Quicktime & Others Others
Developers, Designers & Apps by category 1.5m ? 4-6m 4-5m Web Desktop Developer skills today =Web & Desktop >1m >100k Media & RIA= emerging Media & RIA 200-400k >10ks Enterprise UXof tomorrow = consumer UX of today? Developers Designers Applications
Bridging the Gap between Designers & Developers
Designer & Developer Tooling Web Desktop Server Vista Media & RIA Designer Look, behavior, brand,and emotional connection Developer Function, deployment, data,security, operational integrity
Paper JPG / TIFF PSD PPT MOV / WMV C++ C# VB.NET Non Standards ‘Dirty Code’ Mockups Design vs. Development Designer Expression Developer Visual Studio
XHTML CSS / XSLT XML ASP.NET Javascript AJAX Design & Development Designer Expression Developer Visual Studio XAML XAML = Extensible Application Markup Language
Design & Development Designer Expression Developer Visual Studio XAML XHTML CSS / XSLT XML ASP.NET Javascript AJAX XAML = Extensible Application Markup Language
Silverlight in Action Primetime Emmys Fox HD Tafiti Search Silverlight Airlines Top Banana
Silverlight Web Media Ecosystem Create Distribute Experience Expression Blend for creating media experiences Interactivity, video, and animation in browser and/or full screen Up to 2x streaming scalability overWindows Server 2003 New IIS7 Media Pack with bit-rate throttling for lower cost for downloaded media Expression Media Encoder for publishing with Silverlight Seamless, Fast Installation for End Users New Secure content delivery over SSL and Cache/Proxy support + Existing ecosystem of WMV technology partners / solution providers Consistent experience on Mac and Windows
Silverlight Media Features • Self-contained media playback • Non-rectangular, semi-transparent video with overlays • Customizable transport controls • Progressive download and Windows Media Services support • Live and on demand streaming
Silverlight Media Features (cont.) • Media markers / script commands • ASX playlist support • Closed captioning support with Expression Encoder • Bandwidth throttling with IIS 7.0 • Alpha video (v1.1) • Content protection (v1.1)
Silverlight Media Formats • The following file formats are accepted by the MediaElement (regardless of the file extension): • Video: WMV v7, v8, v9, VC-1 • Audio: WMA v7, v8, v9 (standard), MP3
Silverlight Streaming • Provides developers a free, scalability-on-demand solution for Silverlight http://silverlight.live.com
Silverlight Streaming Infrastructure Content upload Silverlight streaming infrastructure Data flow user Data flow Silverlight
Silverlight JavaScript Basics • Silverlight XAML elements are scriptable via the browser script engine (JavaScript) • Scriptable objects are obtained via findName • Scriptable objects (elements) can be controlled via properties and methods • Models JavaScript and HTML DOM interaction • findName is equivalent to document.getElementById() • Supports tree walking via children collection • Position set using "Canvas.Top" and "Canvas.Left" • Size can be scaled or set via Height/Width
Graphics and Animations in Silverlight • 2D Graphics • Standard shapes, masking and clipping • Transformations: skew, rotate, scale, translate, matrix • Animation Basics • Animations change properties over time • Support linear, discrete and spline animation • Animatable property types: • Double, Color, Point • Animations and graphics are defined using XAML
Downloader and CreateFromXAML • HTTP Downloader • V1.0 supports HTTP gets (async and sync) • Provides download progress • ZIP packaging • Similar to XMLHTTP • CreateFromXAML • Primary way in V1.0 to dynamically create content
Silverlight 1.0 and 1.1 • Silverlight v1.0 (Released) • XAML + JavaScript • Designed for interactive content • Especially video • Released summer 2007 • Silverlight v1.1 (Alpha) • XAML + .Net languages (C#, VB, JavaScript, etc.) • Designed for rich interactive apps • Will release Q2 - Q3 2008
Silverlight Architecture Silverlight 1.0 Server .NET for Silverlight Data WPF for Silverlight Media Inputs Silverlight 1.1 Extensible Controls LINQ LINQ-to-XML Keyboard WMV / VC1 Web Services ASP.NET AJAX Libs Mouse WMA Legend REST RSS SOAP Dynamic Languages BCL POX JSON Ink MP3 <asp:xaml> Ruby Python Collections Generics <asp:media> Common Language Runtime (Execution Engine) XAML UI Core Controls DRM 2D Vectors Images Layout Media Animation Transforms Editing Text Presentation Core Integrated Networking Stack DOM Integration JavaScript Engine Installer Browser Host
Controls in Silverlight 1.0 Jelly Controls Netikatech GOA Controls
UI Technologies Compared User Experience (Fidelity) ASP.NET AJAX SILVERLIGHT WPF Remove flickering, allow partial roundtrip 2D, wmv-wma-mp3, Vector Graphic, “no black-box” 3D, 2D, Video, Vector Graphic, GPU, Picture, Music,… Highlights XML JavaScript XAML ↔ JS* XAML ↔ .NET** XAML .NET3.0 Characteristics Any (Modern) Browser .NET 3.0 (Vista, XP, WS2003) IE/FireFox (Vista, XP, WS2003) Requirements Safari/FireFox (Mac OS X 10.4.8+) … “Browser”/js lib. Browser Plugin WPF “Core” Reach * Silverlight 1.0 ** Silverlight 1.1
Silverlight.net • Silverlight Samples and Showcases • Getting Started section • Quickstarts, Whitepapers & Videos • http://nibblestutorials.net
NibblesTutorials.net • Expression Blend & Silverlight Tutorials • Expression Blend & WPF Tutorials • Samples Download • http://nibblestutorials.net
Links • Silverlight • http://silverlight.net/ • Silverlight Streaming • http://streaming.live.com/ • Tafiti Search • http://www.tafiti.com/ • JellyGraph (free) Data Controls • http://joestegman.members.winisp.net/jelly/ • NETIKAtech GOA Silverlight Controls • http://community.netikatech.com/demos/ • Infragistics Data Controls • http://labs.infragistics.com/silverlight/ • Photosynth • http://labs.live.com/photosynth • SeaDragon Demo auf YouTube • http://www.youtube.com/watch?v=0ra5tp7K--I
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.