Upload
shubhanshu-mishra
View
1.030
Download
0
Tags:
Embed Size (px)
DESCRIPTION
A introductory presentation on Microsoft's Silverlight Platform.
Citation preview
Silverlight & .NET Framework – A Workshop
Microsoft Student Partners & Mathematics Colloquium
Presented By:Shubhanshu Mishra
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
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
Silverlight & The Web
HTML / JavaScrip
t
HTML / .NET
XAML / JavaScrip
t
XAML / .NET
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
Getting StartedInsight into Silverlight Components
Silverlight Components
2D Graphics
Animations
Input (mouse, keyboard, ink)
Media (WMV, WMA, MP3)
Imaging (JPEG, PNG)
Text
HTTP Downloader
XAML Parser
JavaScript DOM
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
Video and AnimationsAdvertisement OverlayXAML Slideshow
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
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
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日本語
ελληνικά
русский汉语
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)
Lets see the stuffDemos
Compatibility
C#VBPHP
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
Sources to learn or Copy ;) http://
www.apurvalawale.com/silverlight.aspx http://
gallery.expression.microsoft.com/en-us/
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.
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
© 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.