Post on 12-Jan-2015
description
transcript
1
Beyond Silverlight with WPF Clients( WPF : Windows Presentation Foundation )
Mike TaultyDeveloper & Platform GroupMicrosoft LtdMike.Taulty@microsoft.com http://www.miketaulty.com
Client Technologies
Browser? Client?
Why Build for the Browser?
Web is Cross PlatformWeb is Cross Platform
Why Build for the Browser?
Deployment Cost
Why Build A Client?
Why Choose WPF?
WPF Release History
WPF – Clients and Clients
XAML Browser Application(XBAP) ClickOnce Application
Full Client
WPF == Silverlight Capabilities++
LayoutLayout AnimationAnimation CompositionComposition
WMV1WMV1WMV2WMV2WMV3WMV3WMVAWMVAWMVC1WMVC1
WMA7WMA7WMA8WMA8WMA9WMA9
WPF == Silverlight Capabilities++
LayoutLayout AnimationAnimation CompositionComposition
WMV1WMV1WMV2WMV2WMV3WMV3WMVAWMVAWMVC1WMVC1
WMA7WMA7WMA8WMA8WMA9WMA9
WPFWPFClientClient
11
Additional WPF Capabilities
WPF == Silverlight Development++ WPFWPF
13
WPF Development
WPF in .NET Framework V3.5
15
2D and 3D Integration
WPF in .NET Framework V3.5 Sp1
17
DataGrid
.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
.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
20
.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
22
WPF Airlines
WPF 3rd Party Controls?
24
3rd Party Controls
Architectural Guidance
Composite Application Guidance for WPFhttp://msdn.microsoft.com/practices
Contains;DocumentationStock Trader sample applicationLibrary source codeQuickStarts to illustrate various features
Resources
© 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.