SlideShare a Scribd company logo
WPF 4
Ted Hu ::tedhu@microsoft.com / twitter: @tedhu Community Program Manager Microsoft Windows Presentation Foundation
ObjectivesGive You A Concrete Understanding of WPF 4New Features in WPF 4Windows 7 light upTooling improvementsTells You Which Features Can Also Be Used With .NET 3.5SP1 and How3.5 SP1 is Preinstalled with Windows 7Answer Questions (during Q&A)3.5 SP1
.NET 3.5 SP1Prior ArtReleased on 11 August 2008Number Of Bug Fixes And ImprovementsFeature-packed Service ReleasePerformance. 15-45% performance improvements for key startup and runtime scenariosStartup: Optimizing CLR NGEN layout, disk I/O, JIT code genRuntime: Graphics, data, text, to animationDeployment. .NET 3.5 SP1 Client Profile, ClickOnceGraphics. Extensible Shader Effects with HLSL support, Direct3D Interop3.5 SP1More @ http://windowsclient.net/wpf/wpf35/wpf-whats-new-35sp1.aspx
HistoryReleased 4 major versions of WPF and 4 major versions of Silverlight
Common set of tools (VS, Blend), and programming model (XAML, .NET)
Redefined RDA and RIA programmingWPF 4 - Lots of Good StuffClient Profile
Data controls
Accessibility Improvements
Chart Controls
Control Themes
Hundreds of good bug fixes…
Plus all the goodness of .NET 4!
Dynamic Language Support
MEF
Globalization and NLS improvements
Managed / Native Code interopMore…XAML
Cached compositions
Text clarity
Layout Rounding
ClickOnce improvements
Multitouch
Win7 Taskbar
Win7 Ribbon
Focus mgt improvements
Support for UIAccessible2
VSM integration
Full Trust XBaps
Pixel Shader 3Scott Guthrie’s WPF 4  blog post http://weblogs.asp.net/scottgu/archive/2009/10/26/wpf-4-vs-2010-and-net-4-0-series.aspx
WPF 4Windows 7Taskbar Integration MultitouchImproved FundamentalsGraphics: Cache Composition, Pixel Shader 3New Text Rendering StackLayout RoundingDeployment Streamlined : Client Profile, ClickOnceEnabled Visual Studio’s UI and EditorBetter Tooling
WPF for Windows 7 Rapid Application Development on Win7 InnovationsMulti-TouchTaskbarDirectWrite for Text RenderingControl  Toolkit (Ribbon, etc.)Common DialogsFile Explorer Presence and CustomizationMore…Use with .NET or via XAML in WPF
WPF Taskbar IntegrationThumbnails toolbars Icon overlays Progress bars JumplistsWith XAML Support3.5 SP1
<Application x:Class="Fishbowl.App"><JumpList.JumpList><JumpListShowRecentCategory="True"><JumpTask Title="Slideshow" Arguments="/Slideshow" /><JumpTask Title="Latest News" Arguments="/Newsfeed" /><JumpTask Title="Sync Now" Arguments="/Synchronize" /></JumpList></JumpList.JumpList></Application>3.5 SP1
WPF 4 MultitouchUIElement changesManipulation Events (tracking and interpreter)Touch System Gesture events (double-tap, rollover)Raw Touch Input Events (for going to the metal)Multi-touch support in controlsScrollViewer Update to accept pan gesturesBase Controls Updated to be multi-touch awareMulti-capture Support for more than one contact point at timeNew Multi-touch Controls e.g. ScatterViewCompatible with Surface SDK 2.0
Touch Development RoadmapWindows 7 ReleaseNET 4 / Surface 2.0 ReleaseNativeWin32ApplicationWinFormsApplicationWPF ApplicationSurface ApplicationSurface SDK1.0Surface SDK 2.0Multi-Touch ControlsSurface  Multi-Touch Controls & APIMulti-Touch APIWPF 3.5 SP1WPF 4WPF 3.5Managed Wrapper and InteropManaged Wrapper and InteropMulti-Touch API and ControlsSurface HardwareWindows 7Surface HardwareWindows VistaWindows 7Multi-Touch API
Microsoft PivotSeesmic LookAvailable now at http://fishbowlclient.comMultitouchTaskbar demo
WPF 3.5 SP1 Multi-Touch SupportEnabling Multi-touch InputMulti-touch Input via Stylus eventsImplementing Multiple CaptureUsing Win7 Manipulation and Inertia ProcessorsWindows Multitouch Sample .NET Interop Library http://code.msdn.microsoft.com/WindowsTouch3.5 SP114
Windows API Code Pack for .NETVista and Windows 7Restart and RecoveryTransactionsSearchNetwork and power awareWindows 7Sensor PlatformFederated SearchControlling any related servicesMore… 3.5 SP1
FundamentalsA Quality-First ReleaseFramework DeploymentApplication DeploymentText ClarityLayout Rounding / SnappingGraphics PerformanceImproved InteropUIAutomation – For accessibility and VS Test Tools
Framework Deployment.NET 4 is a Side by Side release!Visual Studio 2010 supports multi-targeting (e.g. Silverlight + WPF v3 and 4)Client Profile SKU & Setup Improvements
Client Profile SKUSmaller, Faster NET Framework SKU.NET Framework Client: 28mbSetup optimizations for ngen, download, etc.Works across ALL CONFIGURATIONSBrandable deployment experienceDevelopers can customize  app deployment experience to match brandCan integrate framework and app installersTools and documentation for creating these packagesEasier application deploymentDevelopers may use deployment bootstrapper to manage the installation of their app and pre-reqsWill install application after the framework and launch it (.msi, .application or .xbap)3.5 SP1
Setup and Size.NET 4 Client Profile is the default target in almost all VS 2010 Client Project Templates  (WinForms, WPF, VSTO)Supported on all OS that Full .NET is.NET 4 Full & Client offer big improvements75%+ size reduction over earlier versions48 MB Full (x86/x64); 28 MB Client (x86)Both Full and Client Support x86 & x64Size on media combined x86/x64 package
Setup and Client Profile .NET 4 Full & Client Profile Size & Deployment PerfClient x86=~28MB, Client x86/x64=~41MB  (similar size to x86 3.5SP1 Client Profile with lots more features )Full x86=~35MB , Full x86/x64=~48MB (from ~240MB in 3.5Sp1 )Client Profile is a First-Class CitizenClient Profile Is The De Facto Framework that will be available on Windows Update for desktop PCsCan Be Serviced Independently (of Full Framework) as Standalone & serviceable package (does not require Full Framework)Supported by Visual Studio 2010 in all respects (e.g. targeting, deployment project, etc).
Available now at http://photosuru.comClient Profiledemo
What is ClickOnce?Technology to help deploy, version and update rich clientsSupports automatic detection and deployment of application updatesProvides bootstrapping capabilitiesApplications execute in a secure sandbox with support for safe permission elevation
ClickOnce DeploymentOriginally released with .NET Framework 2.0 .NET Framework 3.5Can move deployment locationsCan support third-party publishing and brandingManifest Generating and Editing Tool  improved.NET Framework 3.5 SP1Can publish unsigned applicationsBetter FireFox supportDesign-time file associations
ClickOnce DeploymentContinuing Improvements For ClickOnce to enable more seamless app install & updateCommand-line arguments for CO-deployed appsFile associations for CO deployed appsBackground auto-updates and custom install User Experience3.5 SP1
The ClickOnce ExperienceWeb Server
Deploying Using ClickOnceOnline-Only Update ScenarioPublish.htmClient WorkstationMyAppMyApp V1 DomainPublish.htmMyApp.applicationMyApp_1.0.0.0HTTPMyApp_1.1.0.0Check manifestfor updatesMyApp.exe.manifestDownload updatesWeb Server
ClickOnce Background Updatedemo
Problems Solved by ClickOnceChoice of web, UNC or CD installationOn demand feature deploymentAutomatic application updatesSupport for application rollbackRemoval of version conflicts…Administrators can control how applications are granted permissions, safe elevation
(Pre-4) WPF Text Rendering
WPF 4 <left> vs. GDI <right>

More Related Content

PPTX
WCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabric
PPT
Introduction to afp
PDF
Cakephp manual-11
PPT
Fitnesse - Acceptance testing
PPT
Paragon New and Old Comparassion
PDF
How to make a developer’s life easier – strategy pattern with the help of Gra...
PDF
Dr. Strangelove, or how I learned to love plugin development
ODP
#1 Basic VoIP Drupal Hands On Experience Webinar
WCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabric
Introduction to afp
Cakephp manual-11
Fitnesse - Acceptance testing
Paragon New and Old Comparassion
How to make a developer’s life easier – strategy pattern with the help of Gra...
Dr. Strangelove, or how I learned to love plugin development
#1 Basic VoIP Drupal Hands On Experience Webinar

Viewers also liked (6)

PPT
An Overview Of Wpf
PPTX
WPF - An introduction
PPTX
Overview of Visual Studio Team System 2010
PPT
Introduction to XAML and WPF
PPT
3 power point synopsis writing
PPT
Format Of Synopsis
An Overview Of Wpf
WPF - An introduction
Overview of Visual Studio Team System 2010
Introduction to XAML and WPF
3 power point synopsis writing
Format Of Synopsis
Ad

Similar to Wpf4 july2010 (20)

PPTX
What Is New In Wpf 3.5 Sp1
PPT
PPT
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
PPTX
XAML: One Language to Rule Them All
PPT
What's New for Presentation in Visual Studio 2008 SP1
PPT
Dot Net Training Dot Net35
PPTX
Yahoo! On Microsoft .NET 3.0 and Microsoft Expression
PPT
WPF Applications, It's all about XAML these days
PPT
MSDN Unleashed: WPF Demystified
PPT
Windows presentation foundation
PPT
A Tour of Windows Presentation Foundation (WPF)
PPT
Silverlight Training
PPT
Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile
PPTX
Introduction to wpf
PPT
MikeTaulty_Ux_Update
PPT
MikeTaulty_Ux_Update
PPTX
Chpater1
PPT
Silverlight 2
PPTX
Building Windows Presentation Foundation (WPF) Application
PPTX
Building Windows Presentation Foundation (WPF) Application
What Is New In Wpf 3.5 Sp1
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
XAML: One Language to Rule Them All
What's New for Presentation in Visual Studio 2008 SP1
Dot Net Training Dot Net35
Yahoo! On Microsoft .NET 3.0 and Microsoft Expression
WPF Applications, It's all about XAML these days
MSDN Unleashed: WPF Demystified
Windows presentation foundation
A Tour of Windows Presentation Foundation (WPF)
Silverlight Training
Session 2: Expanding the Silverlight Reach - WPF and .NET Client Profile
Introduction to wpf
MikeTaulty_Ux_Update
MikeTaulty_Ux_Update
Chpater1
Silverlight 2
Building Windows Presentation Foundation (WPF) Application
Building Windows Presentation Foundation (WPF) Application
Ad

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Approach and Philosophy of On baking technology
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
1. Introduction to Computer Programming.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPT
Teaching material agriculture food technology
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology
cloud_computing_Infrastucture_as_cloud_p
Unlocking AI with Model Context Protocol (MCP)
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Programs and apps: productivity, graphics, security and other tools
Univ-Connecticut-ChatGPT-Presentaion.pdf
NewMind AI Weekly Chronicles - August'25-Week II
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
1. Introduction to Computer Programming.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
Assigned Numbers - 2025 - Bluetooth® Document
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Teaching material agriculture food technology
SOPHOS-XG Firewall Administrator PPT.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Group 1 Presentation -Planning and Decision Making .pptx

Wpf4 july2010

  • 2. Ted Hu ::tedhu@microsoft.com / twitter: @tedhu Community Program Manager Microsoft Windows Presentation Foundation
  • 3. ObjectivesGive You A Concrete Understanding of WPF 4New Features in WPF 4Windows 7 light upTooling improvementsTells You Which Features Can Also Be Used With .NET 3.5SP1 and How3.5 SP1 is Preinstalled with Windows 7Answer Questions (during Q&A)3.5 SP1
  • 4. .NET 3.5 SP1Prior ArtReleased on 11 August 2008Number Of Bug Fixes And ImprovementsFeature-packed Service ReleasePerformance. 15-45% performance improvements for key startup and runtime scenariosStartup: Optimizing CLR NGEN layout, disk I/O, JIT code genRuntime: Graphics, data, text, to animationDeployment. .NET 3.5 SP1 Client Profile, ClickOnceGraphics. Extensible Shader Effects with HLSL support, Direct3D Interop3.5 SP1More @ http://windowsclient.net/wpf/wpf35/wpf-whats-new-35sp1.aspx
  • 5. HistoryReleased 4 major versions of WPF and 4 major versions of Silverlight
  • 6. Common set of tools (VS, Blend), and programming model (XAML, .NET)
  • 7. Redefined RDA and RIA programmingWPF 4 - Lots of Good StuffClient Profile
  • 12. Hundreds of good bug fixes…
  • 13. Plus all the goodness of .NET 4!
  • 15. MEF
  • 16. Globalization and NLS improvements
  • 17. Managed / Native Code interopMore…XAML
  • 29. Pixel Shader 3Scott Guthrie’s WPF 4 blog post http://weblogs.asp.net/scottgu/archive/2009/10/26/wpf-4-vs-2010-and-net-4-0-series.aspx
  • 30. WPF 4Windows 7Taskbar Integration MultitouchImproved FundamentalsGraphics: Cache Composition, Pixel Shader 3New Text Rendering StackLayout RoundingDeployment Streamlined : Client Profile, ClickOnceEnabled Visual Studio’s UI and EditorBetter Tooling
  • 31. WPF for Windows 7 Rapid Application Development on Win7 InnovationsMulti-TouchTaskbarDirectWrite for Text RenderingControl Toolkit (Ribbon, etc.)Common DialogsFile Explorer Presence and CustomizationMore…Use with .NET or via XAML in WPF
  • 32. WPF Taskbar IntegrationThumbnails toolbars Icon overlays Progress bars JumplistsWith XAML Support3.5 SP1
  • 33. <Application x:Class="Fishbowl.App"><JumpList.JumpList><JumpListShowRecentCategory="True"><JumpTask Title="Slideshow" Arguments="/Slideshow" /><JumpTask Title="Latest News" Arguments="/Newsfeed" /><JumpTask Title="Sync Now" Arguments="/Synchronize" /></JumpList></JumpList.JumpList></Application>3.5 SP1
  • 34. WPF 4 MultitouchUIElement changesManipulation Events (tracking and interpreter)Touch System Gesture events (double-tap, rollover)Raw Touch Input Events (for going to the metal)Multi-touch support in controlsScrollViewer Update to accept pan gesturesBase Controls Updated to be multi-touch awareMulti-capture Support for more than one contact point at timeNew Multi-touch Controls e.g. ScatterViewCompatible with Surface SDK 2.0
  • 35. Touch Development RoadmapWindows 7 ReleaseNET 4 / Surface 2.0 ReleaseNativeWin32ApplicationWinFormsApplicationWPF ApplicationSurface ApplicationSurface SDK1.0Surface SDK 2.0Multi-Touch ControlsSurface Multi-Touch Controls & APIMulti-Touch APIWPF 3.5 SP1WPF 4WPF 3.5Managed Wrapper and InteropManaged Wrapper and InteropMulti-Touch API and ControlsSurface HardwareWindows 7Surface HardwareWindows VistaWindows 7Multi-Touch API
  • 36. Microsoft PivotSeesmic LookAvailable now at http://fishbowlclient.comMultitouchTaskbar demo
  • 37. WPF 3.5 SP1 Multi-Touch SupportEnabling Multi-touch InputMulti-touch Input via Stylus eventsImplementing Multiple CaptureUsing Win7 Manipulation and Inertia ProcessorsWindows Multitouch Sample .NET Interop Library http://code.msdn.microsoft.com/WindowsTouch3.5 SP114
  • 38. Windows API Code Pack for .NETVista and Windows 7Restart and RecoveryTransactionsSearchNetwork and power awareWindows 7Sensor PlatformFederated SearchControlling any related servicesMore… 3.5 SP1
  • 39. FundamentalsA Quality-First ReleaseFramework DeploymentApplication DeploymentText ClarityLayout Rounding / SnappingGraphics PerformanceImproved InteropUIAutomation – For accessibility and VS Test Tools
  • 40. Framework Deployment.NET 4 is a Side by Side release!Visual Studio 2010 supports multi-targeting (e.g. Silverlight + WPF v3 and 4)Client Profile SKU & Setup Improvements
  • 41. Client Profile SKUSmaller, Faster NET Framework SKU.NET Framework Client: 28mbSetup optimizations for ngen, download, etc.Works across ALL CONFIGURATIONSBrandable deployment experienceDevelopers can customize app deployment experience to match brandCan integrate framework and app installersTools and documentation for creating these packagesEasier application deploymentDevelopers may use deployment bootstrapper to manage the installation of their app and pre-reqsWill install application after the framework and launch it (.msi, .application or .xbap)3.5 SP1
  • 42. Setup and Size.NET 4 Client Profile is the default target in almost all VS 2010 Client Project Templates (WinForms, WPF, VSTO)Supported on all OS that Full .NET is.NET 4 Full & Client offer big improvements75%+ size reduction over earlier versions48 MB Full (x86/x64); 28 MB Client (x86)Both Full and Client Support x86 & x64Size on media combined x86/x64 package
  • 43. Setup and Client Profile .NET 4 Full & Client Profile Size & Deployment PerfClient x86=~28MB, Client x86/x64=~41MB (similar size to x86 3.5SP1 Client Profile with lots more features )Full x86=~35MB , Full x86/x64=~48MB (from ~240MB in 3.5Sp1 )Client Profile is a First-Class CitizenClient Profile Is The De Facto Framework that will be available on Windows Update for desktop PCsCan Be Serviced Independently (of Full Framework) as Standalone & serviceable package (does not require Full Framework)Supported by Visual Studio 2010 in all respects (e.g. targeting, deployment project, etc).
  • 44. Available now at http://photosuru.comClient Profiledemo
  • 45. What is ClickOnce?Technology to help deploy, version and update rich clientsSupports automatic detection and deployment of application updatesProvides bootstrapping capabilitiesApplications execute in a secure sandbox with support for safe permission elevation
  • 46. ClickOnce DeploymentOriginally released with .NET Framework 2.0 .NET Framework 3.5Can move deployment locationsCan support third-party publishing and brandingManifest Generating and Editing Tool improved.NET Framework 3.5 SP1Can publish unsigned applicationsBetter FireFox supportDesign-time file associations
  • 47. ClickOnce DeploymentContinuing Improvements For ClickOnce to enable more seamless app install & updateCommand-line arguments for CO-deployed appsFile associations for CO deployed appsBackground auto-updates and custom install User Experience3.5 SP1
  • 49. Deploying Using ClickOnceOnline-Only Update ScenarioPublish.htmClient WorkstationMyAppMyApp V1 DomainPublish.htmMyApp.applicationMyApp_1.0.0.0HTTPMyApp_1.1.0.0Check manifestfor updatesMyApp.exe.manifestDownload updatesWeb Server
  • 51. Problems Solved by ClickOnceChoice of web, UNC or CD installationOn demand feature deploymentAutomatic application updatesSupport for application rollbackRemoval of version conflicts…Administrators can control how applications are granted permissions, safe elevation
  • 52. (Pre-4) WPF Text Rendering
  • 53. WPF 4 <left> vs. GDI <right>
  • 54. Text in WPF 4 APIs In a Nutshell <Page...<StackPanel TextOptions.TextRenderingMode="ClearType" TextOptions.TextFormattingMode="Display">   <TextBlock Text="This will use Display mode formatting and render with ClearType"/> </StackPanel>   </Page>
  • 55. Text APIsTextFormattingModeIdeal.Maintains high fidelity with their outlines from the font file (default behavior which uses IdealWidth text metrics)Display.Glyph has width of multiple whole pixels and is positioned on whole pixels (optional new behavior which uses CompatibleWidthtext metrics)When To Use Ideal ModeLarge Text – As text size increases, Ideal clarity issues dissipate. After ~15pt, Ideal mode is as clear & better spaced than display mode textTransformed Text – If transform is applied to text, Ideal mode should be used. Ideal mode text is designed to be drawn anywhereZoomed Text – Zooming text is a special case of transformed text. Zoomed text should be implemented by increasing the text sizeWhen To Use Display ModeSmall Text – Smaller WPF text (<~15pt) can appear more blurry. If so, switching to display mode should help
  • 56. Text APIsTextRenderingModeAliased (aliased rendering)Grayscale (grayscale antialiasing)ClearType (ClearType always on)Auto (ClearType unless otherwise specified in the system font smoothing options)Comparison of ClearType ,Grayscale, Aliased text using Display TextFormattingMode
  • 58. Layout RoundingWPF Uses DPI-independent Graphics SystemObjects Fall “Between Pixels”Side Effects: Rendering ArtifactsAnti-aliased blurrinessSemi-transparent edgesLayout RoundingNon-integer Pixel Values Are Rounded To Whole Numbers during Measureand ArrangeUseLayoutRounding.Rounds an object’s coordinates on whole pixels
  • 60. GraphicsComposition API – give application authors fine grained control over caching rendered elements in video memoryAn input to a shader effectA brush to fill any arbitrary 2D shapeA texture on a 3D model Text Rendering – New and Improved (on all Windows versions)Pixel Shader 3 Support 256  65,000 instructionsExtends 3.5 SP1’s ShaderEffect with PS 3 supportTools like Shazzam edit and test Pixel Shader Effectshttp://www.shazzam-tool.com
  • 61. Cached CompositionBitmapCacheenable caching of entire or partial visual treeAvoids Re-rendering Costs per-frame Significant Performance improvements possible Fully Interactive. Remains responsive to user inputRespects Dirty Regions and invalidates accordinglyFine-grain control for quality of Cached visualRenderAtScale. Fine-grain knob to set trade-off between re-rendering costs vs. quality, e.g. Processor/memory ++  1, 2, 20X…n scale
  • 63. Cached Composition UsageUIElement.CacheMode = new BitmapCache(); <RectangleCacheMode="BitmapCache"/><Rectangle><Rectangle.CacheMode><BitmapCache EnableClearType="true"RenderAtScale="4"SnapsToDevicePixel="true"/></Rectangle.CacheMode> </Rectangle>
  • 64. Easing Functions for AnimationsBasic discrete, linear, spline animationsA Dozen Easing Functions for creating fluid animated behaviors Built-in (circular, exponential, elastic, and bouncy animation progress) andExtensible(custom easing functions) Behaviors!
  • 65. Easing Functions for Animationsdemo
  • 66. WPF Tooling ImprovementsVisual Studio DesignerExpression Blend 3RAD Databinding
  • 73. Improvements to XAML authoring and workflow
  • 74. VSM
  • 78. Prototyping ToolsLarge Scale WPF Apps @ Microsoft: Visual Studio 2010 + WPF 4EditorUIWhy and how Microsoft Visual Studio 2010 was built with WPF 4- http://microsoftpdc.com/Sessions/CL09 - http://tinyurl.com/yeazt9b Expression WebExpression Blend
  • 79. WPF Apps @ MicrosoftExpression Design and Encoder Deep Zoom ComposerEnterprise Library 5.0SemblioMicrosoft PivotSQL StreamInsight DebuggerMicrosoft SurfacePowerShell ISEMicrosoft Test & Lab Manager (for VSTS)Active Directory Administrative Center
  • 80. #Feedback: Performance!#VS2010add reference dialog is much faster! Can I get a AMEN?The developers on the Visual Studio 2010 RC must have had their usual beverages replaced with unicorn tears or somethingVS2010 RC is fast, I wonder what happens when they hit RTM, it'll be like a cheetah, should be called VS Cheetah!!!Just tried VS2010 RC. One word incredible. Super fast, great build with things I saw in earlier releases fixed. So awesome. #vs2010 is fast like ambulances flying through a school zone at 120 mph being chased by ninjas. and the ninjas are on fire!VS 2010 RC performance is ridiculously faster, can't wait to switch over full time!
  • 81. More #Feedback“Definitely a MASSIVE improvement since VS2010Beta2… So much better than the beta2 that it's hard to know where to start… GREAT WORK GUYS.” “This release works much faster and is more responsive than VS 2008.” “I was concerned about the time that particularly xaml files were taking to load - this is now way better.” “My impression of XAML editor performance seemed better – particularly in the designer.” “I’ve used the latest build over RDP and on my tablet, and I am very happy with the state of VS2010.” “Involving partners and [the] community to take feedback is a good strategy!” “Add References was fast!  :)“IntelliSense seems to be faster/snappier than VS2008 – great job!”
  • 82. More #Feedback@DanWahlin: The performance improvements with Visual Studio 2010 RC compared to previous builds are huge. Really happy with what I'm seeing so far. @peterbromberg: VS2010 RC: I must admit, I am impressed. Major speed and performance improvements. They are obvious immediately! @Nick_Craver: RCperformance is ridiculously faster, can't wait to switch over full time! @Rlz2cool: Just tried VS2010 RC. One word incredible. Super fast, great build with things I saw in earlier releases fixed. So awesome. @ddotterer: Trying out VS2010 RC: Snappier UI, much faster IntelliSense, significant build time reduction, etc. Overall: AWESOME JOB @tomkirbygreen: Oh my goodness, VS2010 RC is much, much faster. Kudos to the VS perf team and everyone else. Uninstalling Visual Studio 2008 :-)
  • 83. WPF 4 Improvements for VS 2010Text StackWPF 4 Now Use DirectWrite for much improved text clarityWPF 4 English Text is faster (~10%) compare to WPF 3.5 SP1Improved JPN MS Gothic Font perf (the VS10 JPN default) UIAutomation Improvements significantly improve Visual Studio performance on tablets and touch-enabled PCsGraphicsNew API To Allow Editor Line-scroll to be significantly more efficient over RDP and update less area. Improve Reliability On VMs. Added API to allow WPF apps to force SW rendering per process enabling Visual Studio 2010 to use SW rendering
  • 84. WPF 4 Improvements for VS 2010XAMLWPF Designer Template Parsing now ~2x faster MEF VS & Editor Extensions use XAML catalog for better perfWPF Designer and Blend share same XamlDom -> ObjectGraph codeMSBuild Uses XAMLto parse build properties filesTree ServicesImproved Focus ManagementExclusiveMenuMode enable better management of keyboard focus between WPF and interop components in MenuModeRestoreFocusMode allow VS full control over focus restoration amongst interop componentsPerformance: Use cached copy of DispatcherSynchronizationContextto improve Editor Scroll scenarios (~25%+ gain)
  • 85. ControlsNow in WPF 4DataGrid, DatePickerVSMControls ToolkitChart ControlsThemesRibbonMore coming after RTM…More at http://wpf.codeplex.com3.5 SP1
  • 86. Related Resources Please submit session feedback – we read every one
  • 87. Vote: Let your voice be heard on WPF futures/featureshttp://dotnet.uservoice.com/forums/40583-wpf-feature-suggestionsRead Scott Guthrie’s blog post on WPF 4http://weblogs.asp.net/scottgu/archive/2009/10/26/wpf-4-vs-2010-and-net-4-0-series.aspxSeries of short “how-to” videos introducing What’s New in Windows Presentation Foundation 4http://www.msdev.com/Directory/SeriesDescription.aspx?CourseId=147Take advantage of crisp text and layout roundinghttp://blogs.msdn.com/text/Deploy WPF apps faster with .NET 4 Client Profilehttp://blogs.msdn.com/jgoldb/archive/2009/05/27/net-framework-4-client-profile-introduction.aspx
  • 88. THANK YOUWPF 4 tedhu@microsoft.com
  • 89. © 2010 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.