session 1: an overview of silverlight 2
DESCRIPTION
Rich Internet Applications with Visual Studio 2008 Service Pack 1In this event we’ll take a look at how you can build rich applications that deploy to the web and go beyond what you can typically do inside of a browser based application. We’ll have a look at how .NET programming comes to the cross-platform world of the web with Silverlight 2 and the framework and tooling surrounding Silverlight. We’ll then see how you can take that further to develop applications with Windows Presentation Foundation that go beyond the capabilities of Silverlight whilst still making use of the same skillset and tooling. For more details and the original slidedeck go to http://www.microsoft.com/uk/msdn/events/new/Detail.aspx?id=342TRANSCRIPT
![Page 1: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/1.jpg)
1
Overview of Silverlight 2
Mike OrmondDeveloper & Platform GroupMicrosoft [email protected] http://mikeo.co.uk
![Page 2: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/2.jpg)
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.
![Page 3: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/3.jpg)
3
Showcase
![Page 4: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/4.jpg)
Packaging & Architecture
Browser plug-inVery small download, installs in secondsIncludes video & audio codecsTypically installed on demand
BrowserBrowser Silverlight PluginSilverlight Plugin
Retained Mode Retained Mode Graphics SystemGraphics System
Multimedia Multimedia supportsupport
XAML
XAML
Vector based Vector based graphicsgraphicsAnimation engineAnimation engine
.NET Core CLR.NET Core CLR
.NET Framework.NET FrameworkControlsControls DataData NetworkinNetworkin
gg
Silverlight Base Class LibrarySilverlight Base Class Library
JavaScript APIJavaScript API
![Page 5: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/5.jpg)
Silverlight Programming Model
JavaScript EngineJavaScript Engine HTML DOMHTML DOM
Silverlight 1 PluginSilverlight 1 Plugin
<script>...</script>
<body>... <object></object>...</body>
![Page 6: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/6.jpg)
Silverlight Programming Model
JavaScript EngineJavaScript Engine HTML DOMHTML DOM
Silverlight 2 PluginSilverlight 2 Plugin<script>...</script>
<body>.........</body>
.NET Core CLR.NET Core CLR
.NET Framework.NET Framework
![Page 7: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/7.jpg)
7
Hello World
![Page 8: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/8.jpg)
Client Server Interaction
MyPage.html
MySLApp.xap
MyVideo.wmv
MySLApp.xap
AppManifest.xaml
MyAssembly1.dll
MyAssembly2.dll
SysAssembly1.dll
MyImage1.png
MySLApp.xap
AppManifest.xaml
MyAssembly1.dll
MyAssembly2.dll
SysAssembly1.dll
MyImage1.png
![Page 9: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/9.jpg)
Declarative Development - XAML
eXtensible Application Markup LanguageWPF, Silverlight, WF etc
In Silverlight – XAML loaded at runtime and merged with supporting “code behind” class
![Page 10: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/10.jpg)
10
Application LifecycleDeclarative Markup
![Page 11: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/11.jpg)
XAMLXAML
VS Project FilesVS Project Files
Tools
![Page 12: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/12.jpg)
12
Silverlight Tooling
![Page 13: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/13.jpg)
Silverlight Core UI Capabilities
LayoutLayout AnimationAnimation CompositionComposition
WMV1WMV1WMV2WMV2WMV3WMV3WMVAWMVAWMVC1WMVC1
WMA7WMA7WMA8WMA8WMA9WMA9MP3MP3
![Page 14: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/14.jpg)
14
Silverlight UI Controls
![Page 15: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/15.jpg)
15
Silverlight Controls
![Page 16: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/16.jpg)
Silverlight .NET Framework
![Page 17: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/17.jpg)
17
Framework Pieces
![Page 18: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/18.jpg)
Timeline & Platforms
TimelineSilverlight 1 - Released (September 2007)Silverlight 2 - Beta 2Moonlight - Pre-Alpha
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
![Page 19: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/19.jpg)
Resources
http://msdn.microsoft.comhttp://www.silverlight.net http://www.silverlightscreencasts.com
![Page 20: Session 1: An Overview of Silverlight 2](https://reader036.vdocument.in/reader036/viewer/2022062418/55526aabb4c9052e1f8b504e/html5/thumbnails/20.jpg)
© 2008 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.