24
Mike Taulty Developer & Platform Group Microsoft Ltd [email protected] http://mtaulty.com

MikeTaulty Silverlight 2x - jaoo.dkjaoo.dk/dl/qcon-london-2008/slides/MikeTaulty_Silverlight_2.pdfMicrosoft Silverlight is a cross-browser, ... { "Hello World" } Browser Sandbox

Embed Size (px)

Citation preview

Mike TaultyDeveloper & Platform GroupMicrosoft [email protected]://mtaulty.com

Microsoft Silverlight is a cross-browser, cross-platform implementation of .NET for building and delivering the next generation of media experiences & rich interactive applications for the Web.

Platforms & Browsers (Microsoft support)

IE 6.0+ FireFox 1.5+ Safari 2.0

Windows Vista, XP, 2003, 2000*

Mac OS X 10.4.8+

Novell Support (Moonlight)

Linux(various distros)

KonquerorFireFox Opera

TimelineV 2 currently in Beta 1V 1 released September 2007

PackagingBrowser plug-in, little dependency on other s/wUsually installed on demand as content is accessedIntended to be a quick download

V1 is ~1.2MB, V2 is ~4.0MB

Silverlight V2

Silverlight V1 .NETCoreCLR

JavaScriptProgrammability

CoreCLR

.NETFramework

{ { a richer web a richer web }}

Expression Design Expression Blend VS 2008

eXtensible Application Markup Language

XAMLXAMLCodeCode

In Silverlight – XAML loaded at runtime and merged with supporting “code behind” class

Expression Design Expression Blend VS 2008

XAML

VS Project Files

{ { "Hello World" "Hello World" }}

Browser SandboxBrowser Sandbox

HTML Page DOMHTML Page DOM

<body><objectid=“silverlightPlugIn1”type="application/x -silverlight -2-b1">

SilverlightSilverlight PlugPlug--InIn

CLR App DomainCLR App Domain

ApplicationApplication

JavaScript RuntimeJavaScript Runtime .NET Core CLR.NET Core CLR

type="application/x -silverlight -2-b1"><param

name="source" value="myApp.xap"/>

</object></body>

HTML BridgeHTML Bridge

ApplicationApplication

.NET Code.NET Code SilverlightSilverlight UI DOMUI DOM

<body><objectid=“silverlightPlugIn1”type="application/x -silverlight -2-b1">type="application/x -silverlight -2-b1"><param

name="source" value="myApp.xap"/>

</object></body>

myapp.xap

request XAP

manifest.xamlmanifest.xamlStartTypeStartType==Assembly,TypeAssembly,Type

myapp.xap

myapp.xap

video1.wmvmyapp.xap

request WMV

assembly1.dllassembly1.dll

myImage.jpgmyImage.jpg

assembly2.dllassembly2.dll

{ { what did we just build? what did we just build? }}

2D Vector Graphics

Rectangle

Polygon

LineText

Brushes

Media

WMV

WMAInk

WMV1WMV1WMV2WMV2WMV3WMV3WMVAWMVA

WMVC1WMVC1

Polyline

PathGeometry

Ellipse

MP3

LayoutLayout AnimationAnimation CompositionComposition

WMA7WMA7WMA8WMA8WMA9WMA9

{ { Core UI Capabilities Core UI Capabilities }}

Built in?

Layout?

Styling?

Data Binding?

Custom?

{ { Silverlight Controls Silverlight Controls }}

Networking

Scenarios Filesystem

HTMLInterop

LINQ andXML

{ { Network, Files, Network, Files, LINQ, HTML Bridge LINQ, HTML Bridge }}

• Python• Ruby• JavaScript

DLR

• Windows Mobile 6 Support, Silverlight 1 First• Nokia SupportMobile

Accessibility

Internationalisation

{ { www.silverlight.net www.silverlight.net }}{ { www.visitmix.com www.visitmix.com }}

{ { www.microsoft.com/expression www.microsoft.com/expression }}{ { www.microsoft.com/expression www.microsoft.com/expression }}

© 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.

Visit http://msdn.co.ukNewsletterEventsScreencastsBlogs

Networking

Scenarios Filesystem

HTMLInterop

LINQ andXML