27
1 Beyond Silverlight with WPF Clients ( WPF : Windows Presentation Foundation ) Mike Taulty Developer & Platform Group Microsoft Ltd [email protected] http://www.miketaulty.com

Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

  • Upload
    ukdpe

  • View
    2.578

  • Download
    1

Embed Size (px)

DESCRIPTION

Rich Internet Applications with Visual Studio 2008 Service Pack 1 In this event we’ll take a look at how you can build rich applications that deploy to the web and go beyond what you can typically do inside of a browser based application. We’ll have a look at how .NET programming comes to the cross-platform world of the web with Silverlight 2 and the framework and tooling surrounding Silverlight. We’ll then see how you can take that further to develop applications with Windows Presentation Foundation that go beyond the capabilities of Silverlight whilst still making use of the same skillset and tooling.

Citation preview

Page 1: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

1

Beyond Silverlight with WPF Clients( WPF : Windows Presentation Foundation )

Mike TaultyDeveloper & Platform GroupMicrosoft [email protected] http://www.miketaulty.com

Page 2: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

Client Technologies

Browser? Client?

Page 3: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

Why Build for the Browser?

Web is Cross PlatformWeb is Cross Platform

Page 4: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

Why Build for the Browser?

Deployment Cost

Page 5: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

Why Build A Client?

Page 6: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

Why Choose WPF?

Page 7: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

WPF Release History

Page 8: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

WPF – Clients and Clients

XAML Browser Application(XBAP) ClickOnce Application

Full Client

Page 9: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

WPF == Silverlight Capabilities++

LayoutLayout AnimationAnimation CompositionComposition

WMV1WMV1WMV2WMV2WMV3WMV3WMVAWMVAWMVC1WMVC1

WMA7WMA7WMA8WMA8WMA9WMA9

Page 10: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

WPF == Silverlight Capabilities++

LayoutLayout AnimationAnimation CompositionComposition

WMV1WMV1WMV2WMV2WMV3WMV3WMVAWMVAWMVC1WMVC1

WMA7WMA7WMA8WMA8WMA9WMA9

WPFWPFClientClient

Page 11: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

11

Additional WPF Capabilities

Page 12: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

WPF == Silverlight Development++ WPFWPF

Page 13: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

13

WPF Development

Page 14: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

WPF in .NET Framework V3.5

Page 15: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

15

2D and 3D Integration

Page 16: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

WPF in .NET Framework V3.5 Sp1

Page 17: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

17

DataGrid

Page 18: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

.NET Client Profile

Trimmed .NET Framework 3.5 Sp 1 for ClientsCustomisable installation process

Online bootstrapper ( ~270KB )Offline installer ( ~ 250MB )

Works with XBAP, ClickOnce, Setup.exe

Target Target hashas

.NET?.NET?Install 3.5 Sp1Install 3.5 Sp1

RebootReboot

Admin RequiredAdmin Required

Yes

Install ~28MB Client ProfileInstall ~28MB Client Profile

No RebootNo Reboot

Admin RequiredAdmin Required

Schedule 3.5 Sp1 InstallSchedule 3.5 Sp1 Install

No

Page 19: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

.NET Client Profile

Subset of .NET Framework V3.5 Sp1Not technologies like ASP.NET, Workflow

Visual Studio 2008 Service Pack 1Offers Client Profile as a target platformWarns on use of non Client Profile assembliesMarks Client Profile application configuration filesAdds Client Profile distribution to Publish and Setup projects

NB: Applications without a “sku=Client” config file do not run on the Client Profile

Page 20: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

20

.NET Client Profile

Page 21: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

From Silverlight to WPF

Designed for high level of compatibilityXAML level compatibility.NET Framework API level compatibility

Tooling is practically identicalSkillset is a superset of Silverlight knowledgeScenarios

Silverlight->WPF relatively painlessWPF->Silverlight likely to be more tricky Maintaining 2 UI’s – re-use as much as possible whilst accepting differences

Page 22: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

22

WPF Airlines

Page 23: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

WPF 3rd Party Controls?

Page 24: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

24

3rd Party Controls

Page 25: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

Architectural Guidance

Composite Application Guidance for WPFhttp://msdn.microsoft.com/practices

Contains;DocumentationStock Trader sample applicationLibrary source codeQuickStarts to illustrate various features

Page 26: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

Resources

Page 27: Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile

© 2008 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.