session 1: an overview of silverlight 2

20
1 Overview of Silverlight 2 Mike Ormond Developer & Platform Group Microsoft Ltd [email protected] http://mikeo.co.uk

Upload: ukdpe

Post on 13-May-2015

2.274 views

Category:

Technology


0 download

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=342

TRANSCRIPT

Page 1: Session 1: An Overview of Silverlight 2

1

Overview of Silverlight 2

Mike OrmondDeveloper & Platform GroupMicrosoft [email protected] http://mikeo.co.uk

Page 2: Session 1: An Overview of Silverlight 2

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

3

Showcase

Page 4: Session 1: An Overview of Silverlight 2

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

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

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

7

Hello World

Page 8: Session 1: An Overview of Silverlight 2

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

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

10

Application LifecycleDeclarative Markup

Page 11: Session 1: An Overview of Silverlight 2

XAMLXAML

VS Project FilesVS Project Files

Tools

Page 12: Session 1: An Overview of Silverlight 2

12

Silverlight Tooling

Page 13: Session 1: An Overview of Silverlight 2

Silverlight Core UI Capabilities

LayoutLayout AnimationAnimation CompositionComposition

WMV1WMV1WMV2WMV2WMV3WMV3WMVAWMVAWMVC1WMVC1

WMA7WMA7WMA8WMA8WMA9WMA9MP3MP3

Page 14: Session 1: An Overview of Silverlight 2

14

Silverlight UI Controls

Page 15: Session 1: An Overview of Silverlight 2

15

Silverlight Controls

Page 16: Session 1: An Overview of Silverlight 2

Silverlight .NET Framework

Page 17: Session 1: An Overview of Silverlight 2

17

Framework Pieces

Page 18: Session 1: An Overview of Silverlight 2

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

Resources

http://msdn.microsoft.comhttp://www.silverlight.net http://www.silverlightscreencasts.com

Page 20: Session 1: An Overview of Silverlight 2

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