Upload
buinguyet
View
214
Download
0
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
eXtensible Application Markup Language
XAMLXAMLCodeCode
In Silverlight – XAML loaded at runtime and merged with supporting “code behind” class
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
2D Vector Graphics
Rectangle
Polygon
LineText
Brushes
Media
WMV
WMAInk
WMV1WMV1WMV2WMV2WMV3WMV3WMVAWMVA
WMVC1WMVC1
Polyline
PathGeometry
Ellipse
MP3
LayoutLayout AnimationAnimation CompositionComposition
WMA7WMA7WMA8WMA8WMA9WMA9
• 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.