SlideShare a Scribd company logo
Rajesh Lal (  [email_address]  )  Microsoft Silverlight An Introduction
What is Silverlight? Technology Overview Architecture Silverlight & Flash  Silverlight Media Business Model  Creating a Silverlight application
Definition Why it’s time for Silverlight Silverlight Background  Difference between 1.0 and 1.1 What is Silverlight?
Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of  media  experiences   and  rich interactive applications(RIA)  for the  Web  Definition
Silverlight is a cross-browser, cross-platform plug-in* * An auxiliary program that works with a software package to enhance its capability. For example, plug-ins used in Photoshop to add a filter for some special effect. Other examples of Plug-ins are Macromedia Flash, Digital Video Express(Divx) Player plug-in, Windows Media Player etc.
Why it’s time for Silverlight Run on all popular browsers and OS Consistent experience irrespective of platform Supports AJAX methodology for rich Internet applications Includes compelling graphics, 2D vector & animation Streams video/audio and scales video quality from mobile device to 720 HDTV video modes Small download 4 MB
Silverlight is the cross platform version of the Windows Presentation Foundation (WPF) used in Vista and was formerly code named "WPF/Everywhere" (WPF/E).  SilverLight background
SilverLight background  Silverlight, is a subset of Windows Presentation Foundation(WPF) which is a part of .NET 3.0 in Windows Vista Windows Presentation Foundation is the user interface subsystem in Windows Vista code name ‘Avalon’. It’s a part of the  .NET Framework 3.0  programming interface (API). Windows Presentation Foundation (WPF) takes advantage of advanced 3D graphics (not in Silverlight) capabilities in modern machines. The "Aero" interface provides transparent, glass-like window borders.
Rich versus Reach
Silverlight 1.0 XAML + JavaScript Silverlight 1.1 Includes an implementation of the CLR, so any .NET language can be used to write code Released Microsoft Silverlight 1.0 Release To Web (RTW) for  Mac  &  Windows  September 2007 Microsoft Silverlight 1.1 Alpha – September 2007 Microsoft Silverlight 1.1 Beta – Q3 2007 Microsoft Silverlight 1.1 RTW – TBD SilverLight 1.0, 1.1 & road ahead Silverlight 1.1 is the REAL DEAL
Technology Overview Silverlight technologies Programming language XAML,  C# or JavaScript Tools of Development XAML Tools
Technology Cloud
Programming Language XAML- core of Silverlight for Rich User interface  All other  - for programming logic
XAML? XAML- e X tensible  A pplication  M arkup  L anguage An XML-based set of tags used to describe objects and events when programming applications <Canvas xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot; Width=&quot;640&quot; Height=&quot;480“ Background=“Aliceblue“ > <TextBlock Text=&quot;Hello World&quot;/> </Canvas>  Hello World XAML !
Load, Parse, Display XAML / C #/ JavaScript  Compile and Run Button b1 = new Button(); b1.Content = &quot;OK&quot;; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; <Button Width=&quot;100&quot;> OK <Button.Background> LightBlue </Button.Background> </Button>
Tools of Development  Microsoft Expression Studio is a suite of design and media applications from Microsoft aimed at developers and designers.  Microsoft Expression Web - WYSIWYG website designer and HTML editor. ( Microsoft FrontPage ) Microsoft Expression Blend - Visual user interface builder for Windows Presentation Foundation applications.  (For  SilverLight ) Microsoft Expression Design - Raster and vector graphics editor.  Microsoft Expression Media - Digital asset and media manager.  Microsoft Expression Encoder - VC-1 content professional encoder. XAMLPad XAML editor/Viewer Part of Windows SDK
Tools for Developer and Designer Designer Developer XAML JavaScript .NET
Visual Studio 2008
Microsoft Expression Blend
XAMLPad Aurora XAML Editor (Mobiform) MyXaml Expression Tools Micrsoft Visual Studio XAML Tools
Architecture Silverlight & Flash  Silverlight Architecture Comparison Flash & Silverlight Silverlight 1.0 and 1.1 .NET Framework 2.0 / 3.0
 
Comparison with Flash
.NET 2.0 or 3.0 .NET Framework 2.0 – VS 2005 – Windows XP .NET Framework 3.0 – Windows Vista (WPF) .NET Framework 3.5 ? Language Integrated Query (LINQ) and data awareness.  ASP.NET AJAX New Web protocol support for AJAX, JSON, REST, POX, RSS, ATOM.
.NET Framework Windows Vista 、  Windows XP 、  Windows Server 2003 Common Language Runtime (CLR) ADO.NET  ASP.NET Windows Forms Windows Presentation Foundation (WPF) Windows Communication Foundation (WCF) Windows Workflow Foundation (WF) Windows CardSpace (WCS) CLS / CTS VB C# J# ・・・ 2.0 3.0 .NET Framework 2.0 .NET  Framework  3.0
 
SilverLight 1.0 &1.1
Silverlight Business Model
Silverlight Media Silverlight MEDIA Feature Self-contained media playback Customizable transport controls Non-rectangular, semi-transparent video with overlays Windows Media Services support  Live and on demand streaming Media markers / script commands ASX Playlist support Closed captioning support with Expression Media Encoder Bandwidth throttling with IIS 7.0 Content protection (DRM Silverlight 1.1) Alpha video (Silverlight 1.1)
Silverlight Media The following file formats are accepted by the mediaElement (regardless of the file extension): Video: WMV v7, v8, v9, VC-1 Audio: WMA v7, v8, v9 (standard), MP3
Opportunities with Video on the web Compelling Web  User Experience Delivering media  without going broke Monetization  with Ads User generated content
Silverlight Business Model  Compelling Web  User Experience Vector Graphics Animation ASP.AJAX
Silverlight Business Model  Delivering media  without going broke Video delivery trend
Silverlight Business Model  Why stream? Live Streaming Fast Streaming Logging Caching and Proxying Windows Media Services
Silverlight Business Model  Silverlight Support  - Rich media based server application - Save status of media playback  - Searchable - text based (XAML) User generated content Monetization  with Ads
Silverlight Business Model  Silverlight Streaming by Windows Live http://silverlight.live.com/  http://www.microsoft.com/silverlight/streaming.aspx No server maintenance Cached in edge servers worldwide 4 GB storage Free!
Low Cost, High Quality Output RECAP Hosted Streaming Media 4 GB of  free  hosting and streaming Global scale Up to High Definition Output Media Server Support You can self-host your streaming services Very competitive pricing Customized skinning of your Silverlight Media control Branding, customized looks and feels and non-traditional shapes are all possible
Creating a Silverlight application
Silverlight 1.0 – XAML + JavaScript  Silverlight 1.1 – XAML + C# Creating a Silverlight application
Silverlight 1.0 – XAML + JavaScript COMPLETE DOM LEVEL 1 integration Creating a Silverlight application
Index.htm <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd&quot;> <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;> <head> <title>Hello World</title> <script type=&quot;text/javascript&quot; src=&quot;Silverlight.js&quot;></script> <script type=&quot;text/javascript&quot; src=&quot;CreateSilverlight.js&quot;></script> <script type=&quot;text/javascript&quot; src=&quot;code.js&quot;></script> <style type=&quot;text/css&quot;> . silverlightHost  { height: 480px; width: 640px; } </style> </head> <body> <div id=&quot;SilverlightControlHost&quot; class=&quot; silverlightHost &quot;> <script type=&quot;text/javascript&quot;> createSilverlight (); </script> </div> </body> </html> Silverlight 1.0 – XAML + JavaScript
function createSilverlight() { Silverlight.createObjectEx({ source: &quot; HelloWorld.xaml &quot;, parentElement: document.getElementById (&quot;SilverlightControlHost&quot;) , id: &quot;SilverlightControl&quot;, properties: { width: &quot;100%&quot;, height: &quot;100%&quot;, version: &quot;1.0“ }, events: { onLoad: handleLoad } }); } CreateSilverlight.js CreateSilverlight– Script file with logic to instantiate Silverlight control
var SilverlightControl;  var theTextBlock;  function handleLoad(control, userContext, rootElement)  {  SilverlightControl = control;  theTextBlock = SilverlightControl.content.findName(&quot;txt&quot;);  theTextBlock.addEventListener(&quot;MouseLeftButtonDown&quot;, &quot;txtLClicked&quot;);  }  function txtLClicked(sender, args)  {  theTextBlock.Text = &quot; Silverlight Rocks !&quot;;  } Code.js Code.js – Script file containing program logic
<Canvas xmlns=&quot;http://schemas.microsoft.com/client/2007&quot; xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; Width=&quot;640&quot; Height=&quot;480&quot; Background=&quot;White&quot; x:Name=&quot;Page&quot; > <TextBlock Width=&quot;195&quot; Height=&quot;42&quot; Canvas.Left=&quot;28&quot; Canvas.Top=&quot;35&quot; Text=&quot; Hello World !&quot; TextWrapping=&quot;Wrap&quot; x:Name=&quot;txt&quot;/> </Canvas> HelloWorld.XAML XAML File –Canvas for Control
Start Building Steps Download Visual Studio 2008 Beta 2 Install the Silverlight SDK 1.0 /1.1 alpha Download the Trial version of Expression Studio Tutorials http://designwithsilverlight.com/ Silverlight: Laurence Moroney's Blog http://www.nibblestutorials.net/ http://blogs.msdn.com/canux/archive/2007/08/01/silverlight-resources.aspx   http://www.ddjsilverlight.com/resources/ http://blogs.msdn.com/gavingear/archive/2007/06/07/how-to-create-an-ink-enabled-sidebar-gadget-using-silverlight.aspx http://silverlight.net/quickstarts http://www.microsoft.com/silverlight/
 

More Related Content

PDF
Flutter beyond hello world
PPTX
Flutter
PDF
Flutter
PDF
Flutter state management from zero to hero
PDF
Building beautiful apps with Google flutter
PDF
Build beautiful native apps in record time with flutter
PDF
Flutter & Firebase BootCamp.pdf
Flutter beyond hello world
Flutter
Flutter
Flutter state management from zero to hero
Building beautiful apps with Google flutter
Build beautiful native apps in record time with flutter
Flutter & Firebase BootCamp.pdf

What's hot (20)

PPTX
What's new in Visual Studio 2022
PDF
The magic of flutter
PDF
Introduction to flutter
PPTX
Introduction to Flutter
PDF
Flutter for web
PDF
Flutter Tutorial For Beginners | Edureka
PPTX
Flutter
PPTX
Introduction to Flutter.pptx
PDF
Flutter bus 2018
PPTX
Dart and Flutter Basics.pptx
PDF
Android Jetpack
PPT
Ionic Framework
PPTX
Flutter introduction
PPTX
Flutter
PPTX
Flutter session 01
PPTX
Flutter
PPTX
Introduction to Android and Android Studio
ODP
Introduction to Android App Development
PDF
Pune Flutter Presents - Flutter 101
PDF
Google flutter the easy and practical way
What's new in Visual Studio 2022
The magic of flutter
Introduction to flutter
Introduction to Flutter
Flutter for web
Flutter Tutorial For Beginners | Edureka
Flutter
Introduction to Flutter.pptx
Flutter bus 2018
Dart and Flutter Basics.pptx
Android Jetpack
Ionic Framework
Flutter introduction
Flutter
Flutter session 01
Flutter
Introduction to Android and Android Studio
Introduction to Android App Development
Pune Flutter Presents - Flutter 101
Google flutter the easy and practical way
Ad

Viewers also liked (10)

PPT
Silverlight
PPTX
Microsoft Silverlight - An Introduction
PPTX
Computer science ppt
PDF
Lost in Cultural Translation
PPTX
The Business of Social Media
PDF
Flyer
PPTX
10 Steps of Project Management in Digital Agencies
PDF
The hottest analysis tools for startups
PPTX
All About Beer
 
PDF
Displaying Data
Silverlight
Microsoft Silverlight - An Introduction
Computer science ppt
Lost in Cultural Translation
The Business of Social Media
Flyer
10 Steps of Project Management in Digital Agencies
The hottest analysis tools for startups
All About Beer
 
Displaying Data
Ad

Similar to It's Time for Silverlight @iRajLal (20)

PPTX
Introduction to silverlight control 4
PPTX
Introduction to silverlight
PPTX
Silverlight
PPT
Flex And Ria
PPT
Flex RIA
PPT
Silver Light for every one by Subodh
PPT
Tech Lunch 9 25 2008
PPT
Silverlight Training
PPT
Silverlight Briefing Deck
PPTX
Silverlight
PPTX
Building RIA Apps with Silverlight
PPTX
Introduction to Microsoft Silverlight
PPT
Dot Net Training Dot Net35
PPTX
S1lverl1ght 25.11.10 final
PPTX
S1lverl1ght 25.11.10 final
PPT
MikeTaulty_WPF_DevDays
 
PPT
Uncovering Windows - Silverlight Seminar
PDF
Creativity Day Milano 27 Febbraio Milano
PPT
Adobe® Flex™
PPT
What is Adobe Flex ?
Introduction to silverlight control 4
Introduction to silverlight
Silverlight
Flex And Ria
Flex RIA
Silver Light for every one by Subodh
Tech Lunch 9 25 2008
Silverlight Training
Silverlight Briefing Deck
Silverlight
Building RIA Apps with Silverlight
Introduction to Microsoft Silverlight
Dot Net Training Dot Net35
S1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 final
MikeTaulty_WPF_DevDays
 
Uncovering Windows - Silverlight Seminar
Creativity Day Milano 27 Febbraio Milano
Adobe® Flex™
What is Adobe Flex ?

More from Raj Lal (20)

PDF
Executive Presence Workshop - Gina Grahame
PDF
Creativity, AI, and Human-Centered Innovation
PDF
TEAMCAL AI - PITCH DECK Voice and AI.pdf
PDF
Teamcalendar.AI presskit 1.0
PPTX
UX Workshop: How to design a product with great user experience
PDF
Workshop Stanford University - 28th July 2018 on Website Optimization
PDF
The art and science of website optimization
PPTX
UX Workshop - Talent 2 Talent Conference, Ryerson University, Toronto Canada,...
PDF
Why Toastmasters - The story of a fisherman
PDF
Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, ...
PDF
Evolution of User Interface - Digital Web & Design Innovation Summit SFO 20 S...
PPS
Designing Killer Apps for Mobile Devices ModevUX May 9 2013 mclean VA - @iRajLal
PPT
Html5 Whats around the bend
PPTX
Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...
PPTX
Accessibility on Windows Phone - Windows Phone Meetup at Nokia - 16 October @...
PPTX
Accessible design - HOW Interactive Design Conference Washington DC SEPT 27-2...
PPSX
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
PPT
Developing Apps for Nokia Windows Phone VSLiv Conference May 15, 2012 @iRajLal
PPT
Upgrade Your Website to HTML5 - VSLive Conference New York @iRajLal
PDF
Fun with silverlight4 Table of Content @iRajLal
Executive Presence Workshop - Gina Grahame
Creativity, AI, and Human-Centered Innovation
TEAMCAL AI - PITCH DECK Voice and AI.pdf
Teamcalendar.AI presskit 1.0
UX Workshop: How to design a product with great user experience
Workshop Stanford University - 28th July 2018 on Website Optimization
The art and science of website optimization
UX Workshop - Talent 2 Talent Conference, Ryerson University, Toronto Canada,...
Why Toastmasters - The story of a fisherman
Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, ...
Evolution of User Interface - Digital Web & Design Innovation Summit SFO 20 S...
Designing Killer Apps for Mobile Devices ModevUX May 9 2013 mclean VA - @iRajLal
Html5 Whats around the bend
Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...
Accessibility on Windows Phone - Windows Phone Meetup at Nokia - 16 October @...
Accessible design - HOW Interactive Design Conference Washington DC SEPT 27-2...
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
Developing Apps for Nokia Windows Phone VSLiv Conference May 15, 2012 @iRajLal
Upgrade Your Website to HTML5 - VSLive Conference New York @iRajLal
Fun with silverlight4 Table of Content @iRajLal

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
 
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced IT Governance
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Approach and Philosophy of On baking technology
PDF
Empathic Computing: Creating Shared Understanding
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
 
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Machine learning based COVID-19 study performance prediction
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
cuic standard and advanced reporting.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
 
20250228 LYD VKU AI Blended-Learning.pptx
Advanced IT Governance
“AI and Expert System Decision Support & Business Intelligence Systems”
Approach and Philosophy of On baking technology
Empathic Computing: Creating Shared Understanding
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectral efficient network and resource selection model in 5G networks
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
 
Mobile App Security Testing_ A Comprehensive Guide.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Weekly Chronicles - August'25 Week I
Machine learning based COVID-19 study performance prediction
Advanced Soft Computing BINUS July 2025.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm

It's Time for Silverlight @iRajLal

  • 1. Rajesh Lal ( [email_address] ) Microsoft Silverlight An Introduction
  • 2. What is Silverlight? Technology Overview Architecture Silverlight & Flash Silverlight Media Business Model Creating a Silverlight application
  • 3. Definition Why it’s time for Silverlight Silverlight Background Difference between 1.0 and 1.1 What is Silverlight?
  • 4. Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of media experiences and rich interactive applications(RIA) for the Web Definition
  • 5. Silverlight is a cross-browser, cross-platform plug-in* * An auxiliary program that works with a software package to enhance its capability. For example, plug-ins used in Photoshop to add a filter for some special effect. Other examples of Plug-ins are Macromedia Flash, Digital Video Express(Divx) Player plug-in, Windows Media Player etc.
  • 6. Why it’s time for Silverlight Run on all popular browsers and OS Consistent experience irrespective of platform Supports AJAX methodology for rich Internet applications Includes compelling graphics, 2D vector & animation Streams video/audio and scales video quality from mobile device to 720 HDTV video modes Small download 4 MB
  • 7. Silverlight is the cross platform version of the Windows Presentation Foundation (WPF) used in Vista and was formerly code named &quot;WPF/Everywhere&quot; (WPF/E). SilverLight background
  • 8. SilverLight background Silverlight, is a subset of Windows Presentation Foundation(WPF) which is a part of .NET 3.0 in Windows Vista Windows Presentation Foundation is the user interface subsystem in Windows Vista code name ‘Avalon’. It’s a part of the .NET Framework 3.0 programming interface (API). Windows Presentation Foundation (WPF) takes advantage of advanced 3D graphics (not in Silverlight) capabilities in modern machines. The &quot;Aero&quot; interface provides transparent, glass-like window borders.
  • 10. Silverlight 1.0 XAML + JavaScript Silverlight 1.1 Includes an implementation of the CLR, so any .NET language can be used to write code Released Microsoft Silverlight 1.0 Release To Web (RTW) for Mac & Windows September 2007 Microsoft Silverlight 1.1 Alpha – September 2007 Microsoft Silverlight 1.1 Beta – Q3 2007 Microsoft Silverlight 1.1 RTW – TBD SilverLight 1.0, 1.1 & road ahead Silverlight 1.1 is the REAL DEAL
  • 11. Technology Overview Silverlight technologies Programming language XAML, C# or JavaScript Tools of Development XAML Tools
  • 13. Programming Language XAML- core of Silverlight for Rich User interface All other - for programming logic
  • 14. XAML? XAML- e X tensible A pplication M arkup L anguage An XML-based set of tags used to describe objects and events when programming applications <Canvas xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot; Width=&quot;640&quot; Height=&quot;480“ Background=“Aliceblue“ > <TextBlock Text=&quot;Hello World&quot;/> </Canvas> Hello World XAML !
  • 15. Load, Parse, Display XAML / C #/ JavaScript Compile and Run Button b1 = new Button(); b1.Content = &quot;OK&quot;; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; <Button Width=&quot;100&quot;> OK <Button.Background> LightBlue </Button.Background> </Button>
  • 16. Tools of Development Microsoft Expression Studio is a suite of design and media applications from Microsoft aimed at developers and designers. Microsoft Expression Web - WYSIWYG website designer and HTML editor. ( Microsoft FrontPage ) Microsoft Expression Blend - Visual user interface builder for Windows Presentation Foundation applications. (For SilverLight ) Microsoft Expression Design - Raster and vector graphics editor. Microsoft Expression Media - Digital asset and media manager. Microsoft Expression Encoder - VC-1 content professional encoder. XAMLPad XAML editor/Viewer Part of Windows SDK
  • 17. Tools for Developer and Designer Designer Developer XAML JavaScript .NET
  • 20. XAMLPad Aurora XAML Editor (Mobiform) MyXaml Expression Tools Micrsoft Visual Studio XAML Tools
  • 21. Architecture Silverlight & Flash Silverlight Architecture Comparison Flash & Silverlight Silverlight 1.0 and 1.1 .NET Framework 2.0 / 3.0
  • 22.  
  • 24. .NET 2.0 or 3.0 .NET Framework 2.0 – VS 2005 – Windows XP .NET Framework 3.0 – Windows Vista (WPF) .NET Framework 3.5 ? Language Integrated Query (LINQ) and data awareness. ASP.NET AJAX New Web protocol support for AJAX, JSON, REST, POX, RSS, ATOM.
  • 25. .NET Framework Windows Vista 、 Windows XP 、 Windows Server 2003 Common Language Runtime (CLR) ADO.NET ASP.NET Windows Forms Windows Presentation Foundation (WPF) Windows Communication Foundation (WCF) Windows Workflow Foundation (WF) Windows CardSpace (WCS) CLS / CTS VB C# J# ポポポ 2.0 3.0 .NET Framework 2.0 .NET Framework 3.0
  • 26.  
  • 29. Silverlight Media Silverlight MEDIA Feature Self-contained media playback Customizable transport controls Non-rectangular, semi-transparent video with overlays Windows Media Services support Live and on demand streaming Media markers / script commands ASX Playlist support Closed captioning support with Expression Media Encoder Bandwidth throttling with IIS 7.0 Content protection (DRM Silverlight 1.1) Alpha video (Silverlight 1.1)
  • 30. Silverlight Media The following file formats are accepted by the mediaElement (regardless of the file extension): Video: WMV v7, v8, v9, VC-1 Audio: WMA v7, v8, v9 (standard), MP3
  • 31. Opportunities with Video on the web Compelling Web User Experience Delivering media without going broke Monetization with Ads User generated content
  • 32. Silverlight Business Model Compelling Web User Experience Vector Graphics Animation ASP.AJAX
  • 33. Silverlight Business Model Delivering media without going broke Video delivery trend
  • 34. Silverlight Business Model Why stream? Live Streaming Fast Streaming Logging Caching and Proxying Windows Media Services
  • 35. Silverlight Business Model Silverlight Support - Rich media based server application - Save status of media playback - Searchable - text based (XAML) User generated content Monetization with Ads
  • 36. Silverlight Business Model Silverlight Streaming by Windows Live http://silverlight.live.com/ http://www.microsoft.com/silverlight/streaming.aspx No server maintenance Cached in edge servers worldwide 4 GB storage Free!
  • 37. Low Cost, High Quality Output RECAP Hosted Streaming Media 4 GB of free hosting and streaming Global scale Up to High Definition Output Media Server Support You can self-host your streaming services Very competitive pricing Customized skinning of your Silverlight Media control Branding, customized looks and feels and non-traditional shapes are all possible
  • 38. Creating a Silverlight application
  • 39. Silverlight 1.0 – XAML + JavaScript Silverlight 1.1 – XAML + C# Creating a Silverlight application
  • 40. Silverlight 1.0 – XAML + JavaScript COMPLETE DOM LEVEL 1 integration Creating a Silverlight application
  • 41. Index.htm <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd&quot;> <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;> <head> <title>Hello World</title> <script type=&quot;text/javascript&quot; src=&quot;Silverlight.js&quot;></script> <script type=&quot;text/javascript&quot; src=&quot;CreateSilverlight.js&quot;></script> <script type=&quot;text/javascript&quot; src=&quot;code.js&quot;></script> <style type=&quot;text/css&quot;> . silverlightHost { height: 480px; width: 640px; } </style> </head> <body> <div id=&quot;SilverlightControlHost&quot; class=&quot; silverlightHost &quot;> <script type=&quot;text/javascript&quot;> createSilverlight (); </script> </div> </body> </html> Silverlight 1.0 – XAML + JavaScript
  • 42. function createSilverlight() { Silverlight.createObjectEx({ source: &quot; HelloWorld.xaml &quot;, parentElement: document.getElementById (&quot;SilverlightControlHost&quot;) , id: &quot;SilverlightControl&quot;, properties: { width: &quot;100%&quot;, height: &quot;100%&quot;, version: &quot;1.0“ }, events: { onLoad: handleLoad } }); } CreateSilverlight.js CreateSilverlight– Script file with logic to instantiate Silverlight control
  • 43. var SilverlightControl; var theTextBlock; function handleLoad(control, userContext, rootElement) { SilverlightControl = control; theTextBlock = SilverlightControl.content.findName(&quot;txt&quot;); theTextBlock.addEventListener(&quot;MouseLeftButtonDown&quot;, &quot;txtLClicked&quot;); } function txtLClicked(sender, args) { theTextBlock.Text = &quot; Silverlight Rocks !&quot;; } Code.js Code.js – Script file containing program logic
  • 44. <Canvas xmlns=&quot;http://schemas.microsoft.com/client/2007&quot; xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; Width=&quot;640&quot; Height=&quot;480&quot; Background=&quot;White&quot; x:Name=&quot;Page&quot; > <TextBlock Width=&quot;195&quot; Height=&quot;42&quot; Canvas.Left=&quot;28&quot; Canvas.Top=&quot;35&quot; Text=&quot; Hello World !&quot; TextWrapping=&quot;Wrap&quot; x:Name=&quot;txt&quot;/> </Canvas> HelloWorld.XAML XAML File –Canvas for Control
  • 45. Start Building Steps Download Visual Studio 2008 Beta 2 Install the Silverlight SDK 1.0 /1.1 alpha Download the Trial version of Expression Studio Tutorials http://designwithsilverlight.com/ Silverlight: Laurence Moroney's Blog http://www.nibblestutorials.net/ http://blogs.msdn.com/canux/archive/2007/08/01/silverlight-resources.aspx http://www.ddjsilverlight.com/resources/ http://blogs.msdn.com/gavingear/archive/2007/06/07/how-to-create-an-ink-enabled-sidebar-gadget-using-silverlight.aspx http://silverlight.net/quickstarts http://www.microsoft.com/silverlight/
  • 46. Â