20
Silverlight & .NET Framework – A Workshop Microsoft Student Partners & Mathematics Colloquium Presented By: Shubhanshu Mishra

Silverlight

Embed Size (px)

DESCRIPTION

A introductory presentation on Microsoft's Silverlight Platform.

Citation preview

Page 1: Silverlight

Silverlight & .NET Framework – A Workshop

Microsoft Student Partners & Mathematics Colloquium

Presented By:Shubhanshu Mishra

Page 2: Silverlight

What is Silverlight ?

Formerly known as Windows Presentation Foundation WPF .

Microsoft Silverlight is a web application framework

Similar to Adobe Flash Cross Platform Cross Browser

Page 3: Silverlight

Silverlight Overview

Compelling Cross-Platform User Experiences Immersive media experiences & RIA Seamless, fast installation for end users Consistent experiences on Mac / Windows

Flexible programming model with collaborative tools

Integration with Web technologies Based on the .NET Framework Role specific tools for designers /

developers

Efficient, lower cost delivery, and more capable media

HD to Mobile w/ SMPTE VC-1 Broad media ecosystem Tools for live and on-demand publishing

Page 4: Silverlight

Silverlight & The Web

HTML / JavaScrip

t

HTML / .NET

XAML / JavaScrip

t

XAML / .NET

Page 5: Silverlight

Silverlight Developer Toolkit

Minimum Any Text EditorAny Web Server

Maximum Productivi

ty

Visual Studio 2008

Silverlight Extension

s for Visual Studio

Expression

Blend 3

ASP.NET

Futures CTP

Page 6: Silverlight

Getting StartedInsight into Silverlight Components

Page 7: Silverlight

Silverlight Components

2D Graphics

Animations

Input (mouse, keyboard, ink)

Media (WMV, WMA, MP3)

Imaging (JPEG, PNG)

Text

HTTP Downloader

XAML Parser

JavaScript DOM

Page 8: Silverlight

Graphics and Animations in Silverlight

2D Graphics Standard shapes, masking and clipping Transformations: skew, rotate, scale, translate,

matrix Animation Basics

Animations change properties over time Support linear, discrete and spline animation Animatable property types:▪ Double, Color, Point

Animations and graphics are defined using XAML

Page 9: Silverlight

Video and AnimationsAdvertisement OverlayXAML Slideshow

Page 10: Silverlight

Silverlight JavaScript Basics Silverlight XAML elements are scriptable via

the browser script engine (JavaScript) Scriptable objects are obtained via findName

Scriptable objects (elements) can be controlled via properties and methods

Models JavaScript and HTML DOM interaction findName is equivalent to

document.getElementById() Supports tree walking via children collection

Position set using "Canvas.Top" and "Canvas.Left"Size can be scaled or set via Height/Width

Page 11: Silverlight

Media

Media Features Video: WMV V7, V8, V9, VC-1 Audio: WMA V7, V8, V9 (standard), MP3 Multiple options for deploying media▪ HTTP progressive download▪ Integration with Windows Media Server

Extensive WMV ecosystem

Page 12: Silverlight

Text

Glyphs Fixed text Full Unicode glyph rendering support Does not support layout (word/line breaking)

TextBlock Basic layout support▪ Left-aligned, English-based text wrapping

Support font encryption and compression V1 supports 64K Unicode Basic Multi-lingual Plane Post V1, increased language support

English日本語

ελληνικά

русский汉语

Page 13: Silverlight

Downloader and CreateFromXAML

HTTP Downloader V1.0 supports HTTP gets (async and

sync) Provides download progress ZIP packaging Similar to XMLHTTP

CreateFromXAML Primary way in V1.0 to dynamically

create content Supports namescopes (for name

collisions)

Page 14: Silverlight

Lets see the stuffDemos

Page 15: Silverlight

Compatibility

C#VBPHP

Page 16: Silverlight

Silverlight and Tools RoadmapSilverlight 1.0 Beta

Silverlight 1.1 Alpha

Silverlight 1.0

Silverlight 1.1 Beta

Silverlight 1.1

Silverlight 2

Silverlight 3

Expression Studio RTM

Expression Blend 2

CTP

Expression Media

Encoder RTM

Expression Web 2

Expression Blend 2Preview

Expression Studio 2

Expression Studio 3 Preview

Silverlight Tools Alpha for Visual Studio 2008 Visual Studio 2008 Visual Studio 2010

Beta

Page 18: Silverlight

What then for the Linux Developers

Moonlight is the project which is porting Silverlight plugin for Linux based systems . Its officially supported by Microsoft.

Mono is another project which is used for running .NET applications on Linux.

Page 19: Silverlight

Resources

Silverlight Tools & SDKs: http://www.microsoft.com/silverlight/resources/technical-resources/

Official Silverlight Website : www.silverlight.net Silverlight Apps:

http://blogs.msdn.com/tims/archive/2007/07/07/from-a-to-z-50-silverlight-applications.aspx

Community Site: http://silverlight.net Main Product Site: http://www.microsoft.com/silverlight MSDN Centre: http://msdn.microsoft.com/silverlight Online Forums: http://silverlight.net/forums Online SDK: http://msdn2.microsoft.com/bb188266.aspx

Top Silverlight Blogs Tim Sneath: http://blogs.msdn.com/tims Mike Harsh: http://blogs.msdn.com/mharsh Joe Stegman: http://blogs.msdn.com/jstegman Laurence Moroney: http://blogs.msdn.com/webnext Ernie Booth: http://blogs.msdn.com/ebooth

Page 20: Silverlight

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