Overview of Silverlight Mike Taulty Developer & Platform Group Microsoft Ltd

Overview of Silverlight
Mike Taulty
Developer & Platform Group
Microsoft Ltd
[email protected]
http://mtaulty.com
Introduction
Microsoft UX Technologies
ASP.NET
ASP.NET AJAX
Win Forms
Silverlight
Richness
Platform
Access
“Reach”
Criteria
Status &
Maturity
Tooling
Dev
Model
WPF
DirectX
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.
A richer web with Silverlight
Timeline & Packaging
Platforms & Browsers (Mirosoft support)
IE 6.0+
FireFox 1.5+
Windows
Vista, XP, 2003, 2000*
Safari 2.0
Mac OS X
10.4.8+
Novell Support (Moonlight)
FireFox
Konqueror
Linux
(various distros)
Timeline
V1.0 Released September 2007,
V1.1 in Alpha (timing and some functionality TBD)
Moonlight – timing TBD (Novell)
Packaging
Browser plug-in, little dependency on other s/w
Opera
Silverlight V1.0 and V1.1
Silverlight
V1.1
Silverlight
V1.0
V1.1 will add .NET to V1.0
CoreCLR
Independent subset of the .NET Framework
Installing Silverlight
Developing
Declarative Development - XAML
eXtensible Application Markup Language
XAML
Code
Calculator c = new Calculator();
Multiply m = new Multiply();
m.P1 = 10;
m.P2 = 20;
c.Operations.Add(m)
<Calculator>
<Operations>
<Multiply P1=“10” P2=“20”/>
</Operations>
</Calculator>
XAML usage
Compiled to produce executable code
Dynamically loaded (parsed or pre-parsed)
Core UI Capabilities
Vector Based Graphics
2D graphics
Primitives (ellipse,
rectangle, path etc)
Composition engine
Transforms
Brushes
Text
Ink
Animation system
Media
Video
Audio
Core UI Capabilities
Silverlight Programming Model
JavaScript
• Silverlight 1.0 and 1.1
• Code against both HTML and XAML content
• Integrates with ASP.NET AJAX controls
.NET
• Silverlight 1.1 only
• CoreCLR + Silverlight .NET Framework subset
• VB and C# against both XAML and HTML content
Silverlight, Documents and DOMs
HTML DOM
<body>
<object
id=“ctrlSilverlight"
type="application/ag-plugin">
<param
value="Scene.xaml"
name="source"/>
</object>
</body>
XAML DOM
<Canvas>
<Rectangle />
</Canvas>
Scene.xaml
Silverlight “Hello World”
Designer/Developer Tooling
Designer
Developer
Look, behavior, brand,
and emotional connection
Function, deployment, data,
security, operational integrity
VS 2008
XAML
VS Project Files
Silverlight Tooling
Expression
Design
Blend 2, September Preview
Encoder
Visual Studio
Visual Studio 2008 Beta 2
Silverlight Tools Alpha for Visual Studio 2008
Silverlight 1.1 Alpha Refresh SDK
Expression Tools
Deploying
Silverlight Streaming
Provides developers a free, scalability-on-demand solution for Silverlight
•
•
•
•
http://silverlight.live.com
Free, 4GB hosting and streaming
You build the application, we deliver the scale
High quality, differentiated, controllable user experience
Complete API Programmability
Silverlight Streaming
Resources
www.silverlight.net
MSDN in the UK
Visit http://msdn.co.uk
Newsletter
Events
Screencasts
Blogs
© 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.