developing rich web applications with...

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

Upload: others

Post on 09-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Developing Rich Web Applications with SilverlightMike Ormond

Developer & Platform Group

Microsoft Ltd

[email protected]

http://mikeo.co.uk

Page 2: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Introduction

Page 3: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Microsoft UX Technologies

ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX

Various criteria for comparison“Richness” of user experience

“Reach” of applications that are built

Depth of platform integration

Development experience– Developer & non-developer tooling, programming model,

3rd party controls, etc.

Status & maturity of technology

Page 4: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

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: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

A richer web with Silverlight

Page 6: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

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

Platforms & Browsers (Mirosoft 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 7: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Silverlight V1.0 and V1.1

SilverlightV1.1

SilverlightV1.0

V1.1 will add .NET to V1.0

CoreCLR

Independent subset of the .NET Framework

Page 8: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Installing Silverlight

Page 9: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Developing

Page 10: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Declarative Development - XAML

eXtensible Application Markup Language

XAML usageCompiled to produce executable code

Dynamically 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: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Core UI Capabilities

Vector Based Graphics

2D graphics

Primitives (ellipse, rectangle, path etc)

Composition engine

Transforms

Brushes

Text

Ink

Animation system

Media

Video

Audio

Page 12: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Core UI Capabilities

Page 13: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Silverlight Programming Model

• Silverlight 1.0 and 1.1

• Code against both HTML and XAML content

• Integrates with ASP.NET AJAX controls

JavaScript

• Silverlight 1.1 only

• CoreCLR + Silverlight .NET Framework subset

• VB and C# against both XAML and HTML content

.NET

Page 14: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Silverlight, Documents and DOMs

HTML DOM

<body><object

id=“ctrlSilverlight" type="application/ag-plugin">

<paramvalue="Scene.xaml" name="source"/>

</object>

</body>

XAML DOM

<Canvas><Rectangle />

</Canvas>

Scene.xaml

Page 15: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Silverlight “Hello World”

Page 16: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Silverlight Architecture

Legend

V1.1

Legend

V1.0

CLR Execution Engine

.NET f

or

Silverl

igh

t

Framework

HTML DOM

Integration

XAML

Pre

sen

tati

on

Co

reNetworking

JSON

REST POX

RSS

Data

LINQ XLINQ

DLR

Ruby Python

UI Framework

Extensible Controls

BCL

Generics Collections

Inputs

Keyboard Mouse Ink

Media

VC1 WMA MP3

Browser Host

Integrated

Networking

Stack

Installer

Application

Services

MS AJAX

Library

UI Core

Images

Vector Text

Animation

DRM

Media

Controls

Layout Editing

Page 17: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Common Programming Scenarios

Working with Storyboards

Using the Downloader class

Running in full screen mode

Calling backend services

Switching XAML pages

Dynamically creating content

Page 18: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Common Programming Scenarios

Page 19: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

Resources

www.silverlight.net

Page 20: Developing Rich Web Applications with Silverlightdownload.microsoft.com/documents/uk/msdn/events/... · ASP.NET ASP.NET AJAX Win Forms Silverlight WPF DirectX Various criteria for

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