14
SILVERLIGHT SILVERLIGHT VS VS WPF WPF SRISAKTHI.K SRISAKTHI.K CHIPKIDZ CHIPKIDZ

Silverlight vs WPF

Embed Size (px)

DESCRIPTION

This ppt describes the difference between Silverlight and WPF

Citation preview

Page 1: Silverlight vs WPF

SILVERLIGHT SILVERLIGHT VS VS WPFWPF

SRISAKTHI.KSRISAKTHI.K

CHIPKIDZCHIPKIDZ

Page 2: Silverlight vs WPF

SILVERLIGHT ARCHITECTURESILVERLIGHT ARCHITECTURE

Page 3: Silverlight vs WPF

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

Page 4: Silverlight vs WPF

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.

Page 5: Silverlight vs WPF

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.

Page 6: Silverlight vs WPF

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.

Page 7: Silverlight vs WPF

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.

Page 8: Silverlight vs WPF

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.

Page 9: Silverlight vs WPF

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.

Page 10: Silverlight vs WPF

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.,

Page 11: Silverlight vs WPF

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

Page 12: Silverlight vs WPF

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.

Page 13: Silverlight vs WPF

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

Page 14: Silverlight vs WPF

Thank youThank you