Download presentation
Presentation is loading. Please wait.
Published byGarey Anderson Modified over 9 years ago
1
1 Beyond Silverlight with WPF Clients ( WPF : Windows Presentation Foundation ) Mike Taulty Developer & Platform Group Microsoft Ltd Mike.Taulty@microsoft.com http://www.miketaulty.com
2
Client Technologies Browser?Client?
3
Why Build for the Browser? Web is Cross Platform
4
Why Build for the Browser? Deployment Cost
5
Why Build A Client? Client Local Resource Disk CPU(s) Hardware Optimise for the Device Online/Offline Working Richness of Experience User Productivity UI Familiarity Responsiveness S/W Integration Developer Productivity Platform Integration Product Differentiation
6
Why Choose WPF? Very rich UIDeveloper Model ( ~ Silverlight )Mature TechnologyTool Support Expression Blend + VS 2008 3 rd Party Components
7
.NET 3.5 Sp1 WPF Release History 2008.NET 3.5.NET 3.0 Visual Studio 2008 Sp1 2007 Visual Studio 2008.NET 2.0 2005 Visual Studio 2005.NET 1.1 2003 Visual Studio.NET 2003.NET 1.0 2002 Visual Studio.NET 2006
8
WPF – Clients and Clients XAML Browser Application (XBAP) Online OnlySimple DeploymentAutomatic UpdatesTight, “Fixed” Sandbox ClickOnce Application Offline/Online“Flexible” DeploymentUpdating Framework“Flexible” Sandbox Full Client Offline/Online Custom DeploymentRoll Your Own UpdatesNo Sandbox
9
WPF == Silverlight Capabilities++ 2D Vector Graphics RectanglePolygonLinePolylinePathGeometryEllipseTextBrushes MediaWMVWMAMP3Ink LayoutLayoutAnimationAnimationCompositionComposition WMV1WMV2WMV3WMVAWMVC1WMV1WMV2WMV3WMVAWMVC1 WMA7WMA8WMA9WMA7WMA8WMA9
10
WPF == Silverlight Capabilities++ 2D Vector Graphics RectanglePolygonLinePolylinePathGeometryEllipseTextBrushes MediaWMVWMAMP3Ink LayoutLayoutAnimationAnimationCompositionComposition WMV1WMV2WMV3WMVAWMVC1WMV1WMV2WMV3WMVAWMVC1 WMA7WMA8WMA9WMA7WMA8WMA9 Controls Content Controls User Controls StylingTemplated Custom Controls Full 3D Graphics System2D UI on 3D SurfacesDocument & Text SystemWindows Forms & Direct 3D InteropHTML DisplayPrinting SupportSpeech & InkHardware AccelerationBitmap EffectsVisual Brushes Full.NET FrameworkOnline/OfflineDesktop IntegrationUse Local Resourcesetc. WPFWPF ClientClient
11
11 Additional WPF Capabilities
12
WPF == Silverlight Development++ Silverlight Development Visual Studio 2008 Expression Blend XAML Code Behind Data Binding ResourcesStylesAnimationsLayout WPFWPF VS XAML EditorBlend with Binding + 3DResource DictionariesDynamic StylesLayout Panels + OptionsRicher BindingNavigation ModelCommands & Gesturess
13
13 WPF Development
14
WPF in.NET Framework V3.5 VS Editor2D/3D IntegrationXBAPs in FireFoxWCF Services in Partial Trust
15
15 2D and 3D Integration
16
WPF in.NET Framework V3.5 Sp1.NET Client ProfilePerformance ImprovementsDataGrid (incoming)Effects in HardwareDirect 3D Interop
17
17 DataGrid
18
.NET Client Profile Trimmed.NET Framework 3.5 Sp 1 for Clients Customisable installation process Online bootstrapper ( ~270KB ) Offline installer ( ~ 250MB ) Works with XBAP, ClickOnce, Setup.exe Target has.NET?.NET? Install 3.5 Sp1 RebootReboot Admin Required Yes Install ~28MB Client Profile No Reboot Admin Required Schedule 3.5 Sp1 Install No
19
.NET Client Profile Subset of.NET Framework V3.5 Sp1 Not technologies like ASP.NET, Workflow Visual Studio 2008 Service Pack 1 Offers Client Profile as a target platform Warns on use of non Client Profile assemblies Marks Client Profile application configuration files Adds Client Profile distribution to Publish and Setup projects NB: Applications without a “sku=Client” config file do not run on the Client Profile
20
20.NET Client Profile
21
From Silverlight to WPF Designed for high level of compatibility XAML level compatibility.NET Framework API level compatibility Tooling is practically identical Skillset is a superset of Silverlight knowledge Scenarios Silverlight->WPF relatively painless WPF->Silverlight likely to be more tricky Maintaining 2 UI’s – re-use as much as possible whilst accepting differences
22
22 WPF Airlines
23
WPF 3 rd Party Controls?
24
24 3 rd Party Controls
25
Architectural Guidance Composite Application Guidance for WPF http://msdn.microsoft.com/practices Contains; Documentation Stock Trader sample application Library source code QuickStarts to illustrate various features
26
Resources
27
© 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.