SlideShare a Scribd company logo
From Windows Presentation Foundation To Silverlight   A brief introduction of SL for WPF Developers By: Shahzad Sarwar This Presentation assume that you have at least 6 months experience with WPF
Basics of Sliverlight Next generation of Microsoft .NET-based media experiences and rich interactive applications (RIAs) for the Web.  Cross-platform and cross-browser plug-in  Subset of the .NET Framework and Windows Presentation Foundation (WPF). Silverlight was originally called Windows Presentation Foundation Everywhere (WPF/E).
Supported Platforms Limited version of Silverlight (called "Moonlight") that supports Linux  http://www.mono-project.com/Moonlight
ASP .Net Vs Sliverlight
History Microsoft introduced ASP.NET AJAX to extend the client scripting capabilities and improve performance.  Silverlight 1and 2
What New in SL 3 Read details here: http://timheuer.com/blog/archive/2009/03/18/silverlight-3-whats-new-a-guide.aspx
Differences Layout Controls  Canvas Control (Same as WPF) StackPanel Control (Same as WPF) Grid Control (Same as WPF) User Interface Controls  Border Control (Same as WPF) Button Control (Same as WPF) Calendar Control (Same as WPF) Checkbox Control (Same as WPF) DatePicker Control (Same as WPF) HyperlinkButton Control (Same as WPF)
Differences Image Control (Same as WPF) RadioButton Control (Same as WPF) ScrollViewer Control (Same as WPF) Slider Control (Same as WPF) TextBlock Control (Same as WPF) Textbox Control (Same as WPF) Designing User Interfaces  Styles (Same as WPF) Resources (Same as WPF, But does not support dynamic resources. )
Differences Screen Coordinate System and Measurements  WPF by default is based on Device Independent Pixel (DIP) units. Silverlight always based on pixel units.  WPF measurement properties specified in XAML can include a unit measure string suffix that changes the interpretation of the preceding numeric value. Silverlight measurements are always pixel units. ( Height="2cm"  ) WPF has a theoretically unbounded coordinate system. Silverlight has a bounded coordinate system.
Differences There is no Flow Document support in Silverlight. In WPF Yes. Silverlight does not support dynamic resources.  Supported in WPF but not in Silverlight: TileMode property for  TileBrush  objects. ValueConversion attribute. ITyped list, InstanceFactory, or BindingList(T). Electronic Documentation Management (EDM). MarkupExtension base class.
Differences Silverlight does not provide any of the following: Datasets. ICustomTypeDescriptor, IListSource, or IBindingList. Binding directly to XML data or XPath binding. (The recommended alternative is to use the  System.Xml.Linq  API for XML business objects.) BindingMode.OneWayToSource binding. Discrete notification for source and target updates with dedicated NotifyOnSourceUpdated or NotifyOnTargetUpdated properties (and related events) on a binding. Bindable  Run .
Differences 3-D drawing support in Silverlight is limited.  In WPF, all visual elements derive from the Visual class, which does not exist in Silverlight. Limited concept of visual and logical tree. Silverlight does not include Freezable objects in its object model.  Silverlight introduces the Deep Zoom feature, which allows zooming in and out of high-resolution images or collections of images. (Not in WPF)
Differences WPF supports all the fonts installed in the Windows operating system. Silverlight, however, natively supports only a handful of fonts. Additional fonts must be embedded within a Silverlight application in order to use them, or dynamically downloaded as needed WPF supports all three types of routed events, while Silverlight only supports direct and bubbling events.  Additionally, WPF supports the creation of custom routed events via the EventManager helper class. Silverlight currently does not support custom routed events.
References: Must read following 2 References: http:// wpfslguidance.codeplex.com / http://msdn.microsoft.com/en-us/library/cc903925(VS.95).aspx And be ready for Siverlight  3 Development in PCMS
Silverlight version 4 is already release, let explore SL 4 in next presentation Keep visiting  http://softarchitect.wordpress.com

More Related Content

PPTX
Introduction to Microsoft Silverlight
PPT
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
PPTX
Microsoft Silverlight - An Introduction
PPT
Silverlight Framework Architecture By Satyen
PDF
Silverlight - What Is It And How Can We Use It
PPTX
Introduction to silverlight control 4
PPT
Silverlight Framework Architecture
PPT
Silver Light
Introduction to Microsoft Silverlight
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
Microsoft Silverlight - An Introduction
Silverlight Framework Architecture By Satyen
Silverlight - What Is It And How Can We Use It
Introduction to silverlight control 4
Silverlight Framework Architecture
Silver Light

What's hot (19)

PPT
Tech Lunch 9 25 2008
PPTX
Basic silverlight
PDF
Silverlight abhinav - slideshare
PPTX
Introduction to WPF and MVVM
PPT
Silverlight
PPT
Introduction to silver light
PPT
History of silverlight versions and its features
PPT
PPTX
TypeScript
PPT
MSDN Unleashed: WPF Demystified
PDF
PLASTIC 2011: "Enterprise JavaScript with Jangaroo"
PPT
Btb017 David
PPTX
WPF For Beginners - Learn in 3 days
PPTX
Silverlight
PDF
Cloud Apache OpenOffice based on HTML5
PPTX
Windows Presentation Foundation
PPT
Introduction to XAML and WPF
PPTX
An overview of moonlight applications test automation
PPTX
Training: MVVM Pattern
Tech Lunch 9 25 2008
Basic silverlight
Silverlight abhinav - slideshare
Introduction to WPF and MVVM
Silverlight
Introduction to silver light
History of silverlight versions and its features
TypeScript
MSDN Unleashed: WPF Demystified
PLASTIC 2011: "Enterprise JavaScript with Jangaroo"
Btb017 David
WPF For Beginners - Learn in 3 days
Silverlight
Cloud Apache OpenOffice based on HTML5
Windows Presentation Foundation
Introduction to XAML and WPF
An overview of moonlight applications test automation
Training: MVVM Pattern
Ad

Similar to From Windows Presentation Foundation To Silverlight (20)

PPTX
Parallel minds silverlight
PPTX
Silverlight
PPT
Mike Taulty Beyond Silverlight With W P F
PPT
Uncovering Windows - Silverlight Seminar
PPT
Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile
PDF
Silverlight difference faqs-1
PPT
Dot Net Training Dot Net35
PPT
Silver Light for every one by Subodh
PPTX
Building RIA Apps with Silverlight
PPTX
Introduction to silverlight
PPTX
Building Windows Presentation Foundation (WPF) Application
PPTX
Building Windows Presentation Foundation (WPF) Application
PPTX
Silverlight 4
PPTX
SilverlightCh01
PPTX
Silverlight Chapter 01 - Introduction
PPS
It's Time for Silverlight @iRajLal
PPT
MikeTaulty_WPF_DevDays
PPTX
XAML: One Language to Rule Them All
PPT
Silverlight vs WPF
PPTX
NET Event - Migrating WinForm
Parallel minds silverlight
Silverlight
Mike Taulty Beyond Silverlight With W P F
Uncovering Windows - Silverlight Seminar
Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile
Silverlight difference faqs-1
Dot Net Training Dot Net35
Silver Light for every one by Subodh
Building RIA Apps with Silverlight
Introduction to silverlight
Building Windows Presentation Foundation (WPF) Application
Building Windows Presentation Foundation (WPF) Application
Silverlight 4
SilverlightCh01
Silverlight Chapter 01 - Introduction
It's Time for Silverlight @iRajLal
MikeTaulty_WPF_DevDays
XAML: One Language to Rule Them All
Silverlight vs WPF
NET Event - Migrating WinForm
Ad

More from Shahzad (20)

DOC
Srs sso-version-1.2-stable version-0
DOCX
Srs sso-version-1.2-stable version
DOCX
Exploration note - none windows based authentication for WCF
DOCX
To study pcms pegasus erp cargo management system-release-7 from architectu...
DOCX
To study pcms pegasus erp cargo management system-release-6 from architectu...
PPT
Pakistan management
PPS
Corporate lessons
DOC
What is future of web with reference to html5 will it devalue current present...
DOC
Software architecture to analyze licensing needs for pcms- pegasus cargo ma...
DOC
A cross referenced whitepaper on cloud computing
DOC
Software architecture case study - why and why not sql server replication
PPT
Software Architecture New Features of Visual Studio 2010 / .Net 4.0 - Part 1...
DOC
To Study The Tips Tricks Guidelines Related To Performance Tuning For N Hib...
DOC
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
DOC
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
DOC
To Analyze Cargo Loading Optimization Algorithm
DOC
DOC
Whitepaper To Study Filestream Option In Sql Server
DOC
White Paper On ConCurrency For PCMS Application Architecture
DOC
Case Study For Replication For PCMS
Srs sso-version-1.2-stable version-0
Srs sso-version-1.2-stable version
Exploration note - none windows based authentication for WCF
To study pcms pegasus erp cargo management system-release-7 from architectu...
To study pcms pegasus erp cargo management system-release-6 from architectu...
Pakistan management
Corporate lessons
What is future of web with reference to html5 will it devalue current present...
Software architecture to analyze licensing needs for pcms- pegasus cargo ma...
A cross referenced whitepaper on cloud computing
Software architecture case study - why and why not sql server replication
Software Architecture New Features of Visual Studio 2010 / .Net 4.0 - Part 1...
To Study The Tips Tricks Guidelines Related To Performance Tuning For N Hib...
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
To Analyze Cargo Loading Optimization Algorithm
Whitepaper To Study Filestream Option In Sql Server
White Paper On ConCurrency For PCMS Application Architecture
Case Study For Replication For PCMS

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Big Data Technologies - Introduction.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Empathic Computing: Creating Shared Understanding
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
A Presentation on Artificial Intelligence
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Electronic commerce courselecture one. Pdf
Cloud computing and distributed systems.
Machine learning based COVID-19 study performance prediction
Big Data Technologies - Introduction.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
MYSQL Presentation for SQL database connectivity
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
Building Integrated photovoltaic BIPV_UPV.pdf
Review of recent advances in non-invasive hemoglobin estimation
Digital-Transformation-Roadmap-for-Companies.pptx
Approach and Philosophy of On baking technology
Empathic Computing: Creating Shared Understanding
“AI and Expert System Decision Support & Business Intelligence Systems”
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The AUB Centre for AI in Media Proposal.docx
A Presentation on Artificial Intelligence
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Electronic commerce courselecture one. Pdf

From Windows Presentation Foundation To Silverlight

  • 1. From Windows Presentation Foundation To Silverlight A brief introduction of SL for WPF Developers By: Shahzad Sarwar This Presentation assume that you have at least 6 months experience with WPF
  • 2. Basics of Sliverlight Next generation of Microsoft .NET-based media experiences and rich interactive applications (RIAs) for the Web. Cross-platform and cross-browser plug-in Subset of the .NET Framework and Windows Presentation Foundation (WPF). Silverlight was originally called Windows Presentation Foundation Everywhere (WPF/E).
  • 3. Supported Platforms Limited version of Silverlight (called "Moonlight") that supports Linux http://www.mono-project.com/Moonlight
  • 4. ASP .Net Vs Sliverlight
  • 5. History Microsoft introduced ASP.NET AJAX to extend the client scripting capabilities and improve performance. Silverlight 1and 2
  • 6. What New in SL 3 Read details here: http://timheuer.com/blog/archive/2009/03/18/silverlight-3-whats-new-a-guide.aspx
  • 7. Differences Layout Controls Canvas Control (Same as WPF) StackPanel Control (Same as WPF) Grid Control (Same as WPF) User Interface Controls Border Control (Same as WPF) Button Control (Same as WPF) Calendar Control (Same as WPF) Checkbox Control (Same as WPF) DatePicker Control (Same as WPF) HyperlinkButton Control (Same as WPF)
  • 8. Differences Image Control (Same as WPF) RadioButton Control (Same as WPF) ScrollViewer Control (Same as WPF) Slider Control (Same as WPF) TextBlock Control (Same as WPF) Textbox Control (Same as WPF) Designing User Interfaces Styles (Same as WPF) Resources (Same as WPF, But does not support dynamic resources. )
  • 9. Differences Screen Coordinate System and Measurements WPF by default is based on Device Independent Pixel (DIP) units. Silverlight always based on pixel units. WPF measurement properties specified in XAML can include a unit measure string suffix that changes the interpretation of the preceding numeric value. Silverlight measurements are always pixel units. ( Height="2cm" ) WPF has a theoretically unbounded coordinate system. Silverlight has a bounded coordinate system.
  • 10. Differences There is no Flow Document support in Silverlight. In WPF Yes. Silverlight does not support dynamic resources. Supported in WPF but not in Silverlight: TileMode property for TileBrush objects. ValueConversion attribute. ITyped list, InstanceFactory, or BindingList(T). Electronic Documentation Management (EDM). MarkupExtension base class.
  • 11. Differences Silverlight does not provide any of the following: Datasets. ICustomTypeDescriptor, IListSource, or IBindingList. Binding directly to XML data or XPath binding. (The recommended alternative is to use the System.Xml.Linq API for XML business objects.) BindingMode.OneWayToSource binding. Discrete notification for source and target updates with dedicated NotifyOnSourceUpdated or NotifyOnTargetUpdated properties (and related events) on a binding. Bindable Run .
  • 12. Differences 3-D drawing support in Silverlight is limited. In WPF, all visual elements derive from the Visual class, which does not exist in Silverlight. Limited concept of visual and logical tree. Silverlight does not include Freezable objects in its object model. Silverlight introduces the Deep Zoom feature, which allows zooming in and out of high-resolution images or collections of images. (Not in WPF)
  • 13. Differences WPF supports all the fonts installed in the Windows operating system. Silverlight, however, natively supports only a handful of fonts. Additional fonts must be embedded within a Silverlight application in order to use them, or dynamically downloaded as needed WPF supports all three types of routed events, while Silverlight only supports direct and bubbling events. Additionally, WPF supports the creation of custom routed events via the EventManager helper class. Silverlight currently does not support custom routed events.
  • 14. References: Must read following 2 References: http:// wpfslguidance.codeplex.com / http://msdn.microsoft.com/en-us/library/cc903925(VS.95).aspx And be ready for Siverlight 3 Development in PCMS
  • 15. Silverlight version 4 is already release, let explore SL 4 in next presentation Keep visiting http://softarchitect.wordpress.com