Silverlight vs WPF
-
Upload
srisakthi-kannan -
Category
Technology
-
view
15.139 -
download
1
description
Transcript of Silverlight vs WPF
SILVERLIGHT SILVERLIGHT VS VS WPFWPF
SRISAKTHI.KSRISAKTHI.K
CHIPKIDZCHIPKIDZ
SILVERLIGHT ARCHITECTURESILVERLIGHT ARCHITECTURE
WPF ARCHITECTUREWPF ARCHITECTURE
Application Services
Deployment Services
Databinding
USER INTERFACE SERVICES
XAML
Accessibility
Property System
Input & Eventing
BASE SERVICES
DOCUMENT SERVICES
Packaging Services
XPS Documents
Animation
2D
3D
AudioImaging
Text
VideoEffects
Composition Engine
MEDIA INTEGRATION LAYER
Controls
Layout
Win
do
ws
Pre
sen
tatio
n F
ou
nd
atio
n
XP
S V
iew
er
SILVERLIGHT VS WPFSILVERLIGHT VS WPF
Silverlight is a Microsoft technology, competing with Silverlight is a Microsoft technology, competing with Adobes Flash and is meant for developing rich Adobes Flash and is meant for developing rich browser based internet applications.browser based internet applications.
WPF is a Microsoft technology meant for developing WPF is a Microsoft technology meant for developing enhanced graphics applications for desktop platform.enhanced graphics applications for desktop platform.
SILVERLIGHT VS WPFSILVERLIGHT VS WPF
1.Term1.TermSilverlight is formerly known as WPF/E.Silverlight is formerly known as WPF/E.WPF is formerly known as "Avalon".WPF is formerly known as "Avalon".
2.Deployment2.DeploymentSilverlight applications can be deployed to more Silverlight applications can be deployed to more
platforms and more browsers .platforms and more browsers .WPF application can be deployed to the desktop or WPF application can be deployed to the desktop or
run in Internet Explorer.run in Internet Explorer.
SILVERLIGHT VS WPFSILVERLIGHT VS WPF
3.Sandbox3.SandboxSilverlight applications running sandboxed on “major Silverlight applications running sandboxed on “major
browsers” on Windows, Linux, OS X.browsers” on Windows, Linux, OS X.
WPF applications running sandboxed in Internet WPF applications running sandboxed in Internet Explorer on Vista & XP.Explorer on Vista & XP.
SILVERLIGHT VS WPFSILVERLIGHT VS WPF
4.BCL4.BCLSilverlight 2 uses a lightweight version of the BCL.Silverlight 2 uses a lightweight version of the BCL.WPF uses full BCL.WPF uses full BCL.
5.Graphics 5.Graphics Silverlight wont support for 2D graphics Silverlight wont support for 2D graphics WPF support for 3D graphics.WPF support for 3D graphics.
SILVERLIGHT VS WPFSILVERLIGHT VS WPF
6.Root tag6.Root tagThe root tag of Silverlight application is UserControl.The root tag of Silverlight application is UserControl.The root tag of WPF application is Window.The root tag of WPF application is Window.
7.Element7.ElementSilverlight doesn’t have <label> element.Silverlight doesn’t have <label> element.Desktop WPF features a <label> element.Desktop WPF features a <label> element.
SILVERLIGHT VS WPFSILVERLIGHT VS WPF
8.ToolTip8.ToolTip In Silverlight 2, the ToolTip attribute is not In Silverlight 2, the ToolTip attribute is not
supported. You have to resort to the ToolTipService.supported. You have to resort to the ToolTipService. In WPF, you can associate a tooltip with controls In WPF, you can associate a tooltip with controls
using the ToolTip attribute.using the ToolTip attribute.
9.Network9.Network In Silverlight 2, there's no support for synchronous In Silverlight 2, there's no support for synchronous
network calls.network calls. In the original WPF application, the call is In the original WPF application, the call is
synchronous.synchronous.
WPF ADVANTAGES OVER WPF ADVANTAGES OVER SILVERLIGHTSILVERLIGHT
Full access to all the Windows API and the full .NET Full access to all the Windows API and the full .NET API.API.
Powerful printing support.Powerful printing support.
Desktop or browser hosted with Customizable Desktop or browser hosted with Customizable Sandbox.Sandbox.
Offline support.Offline support.
Easy integration with other UI technologies.Easy integration with other UI technologies.
Large third party controls selection.Large third party controls selection.
Hardware accelerated, 3D graphics, etc.,Hardware accelerated, 3D graphics, etc.,
SILVERLIGHT ADVANTAGES SILVERLIGHT ADVANTAGES OVER WPFOVER WPF
Small runtime install 4 MB, 1 min, no reboot Small runtime install 4 MB, 1 min, no reboot
No app deployment No app deployment
Cross Platform, Cross BrowserCross Platform, Cross Browser
Easier to learn Easier to learn
Share code and components between Intra and Share code and components between Intra and Internet solutions Internet solutions
Can be easily deployed even on login script Can be easily deployed even on login script
WPF NEGATIVESWPF NEGATIVES
Windows only.Windows only.
Requires 50 / 200 MB .NET 3.x runtime.Requires 50 / 200 MB .NET 3.x runtime.
Steep learning curve.Steep learning curve.
SILVERLIGHT NEGATIVESSILVERLIGHT NEGATIVES
Not quite here yet.Not quite here yet.
“ “Pig in a poke”Pig in a poke”
Sandboxing limits functionalitySandboxing limits functionality
Conflicting products within MicrosoftConflicting products within Microsoft
Thank youThank you