20
Developing Rich Web Applications with Silverlight Mike Ormond Developer & Platform Group Microsoft Ltd [email protected] http://mikeo.co.uk

Building Dynamic Web Applications with Microsoft Silverlight Session 1

  • Upload
    ukdpe

  • View
    1.279

  • Download
    1

Embed Size (px)

DESCRIPTION

Silverlight is Microsoft's new cross-browser, cross-platform plug-in for delivering rich media experiences and interactive applications for the Web. Silverlight provides a highly productive platform for designers and developers to collaborate in building a new generation of web experiences enabling you to build visually stunning interactive content and applications that run on multiple browsers and operating systems. Agenda: Join us for a spin around the XAML Canvas to experience the capabilities of the Silverlight platform. We'll take an in depth look at what Silverlight is and how we can make use of it in web applications. We'll look at both the 1.0 and 1.1 versions of the technology and probe into the programming model and tools you'll need to build compelling Silverlight applications. We'll also look at some related topics such as calling back-end services and asynchronous content download. For more details and the original slidedeck visit http://www.microsoft.com/uk/msdn/events/new/Detail.aspx?id=101

Citation preview

Page 1: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Developing Rich Web Applications with SilverlightMike OrmondDeveloper & Platform GroupMicrosoft [email protected]://mikeo.co.uk

Page 2: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Introduction

Page 3: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Microsoft UX Technologies

Various criteria for comparison“Richness” of user experience“Reach” of applications that are builtDepth of platform integrationDevelopment experience

– Developer & non-developer tooling, programming model, 3rd party controls, etc.

Status & maturity of technology

Page 4: Building Dynamic Web Applications with Microsoft Silverlight Session 1

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 5: Building Dynamic Web Applications with Microsoft Silverlight Session 1

A richer web with Silverlight

Page 6: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Timeline & Packaging

TimelineV1.0 Released September 2007, V1.1 in Alpha (timing and some functionality TBD)Moonlight – timing TBD (Novell)

PackagingBrowser plug-in, little dependency on other s/w

Page 7: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Silverlight V1.0 and V1.1

SilverlightV1.1

SilverlightV1.0

V1.1 will add .NET to V1.0CoreCLRIndependent subset of the .NET Framework

Page 8: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Installing Silverlight

Page 9: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Developing

Page 10: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Declarative Development - XAML

eXtensible Application Markup Language

XAML usageCompiled to produce executable codeDynamically loaded (parsed or pre-parsed)

Calculator c = new Calculator();Multiply m = new Multiply();m.P1 = 10;m.P2 = 20;c.Operations.Add(m)

Code

<Calculator> <Operations> <Multiply P1=“10” P2=“20”/></Operations></Calculator>

XAML

Page 11: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Core UI Capabilities

Vector Based Graphics2D graphicsPrimitives (ellipse, rectangle, path etc)Composition engineTransformsBrushesTextInk

Animation systemMedia

VideoAudio

Page 12: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Core UI Capabilities

Page 13: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Silverlight Programming Model

Page 14: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Silverlight, Documents and DOMs

Page 15: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Silverlight “Hello World”

Page 16: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Silverlight Architecture

Page 17: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Common Programming Scenarios

Working with StoryboardsUsing the Downloader classRunning in full screen modeCalling backend servicesSwitching XAML pagesDynamically creating content

Page 18: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Common Programming Scenarios

Page 19: Building Dynamic Web Applications with Microsoft Silverlight Session 1

Resources

www.silverlight.net

Page 20: Building Dynamic Web Applications with Microsoft Silverlight Session 1

© 2007 Microsoft Ltd. 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.