1 / 24

What’s New for Presentation in Visual Studio 2008 SP 1?

What’s New for Presentation in Visual Studio 2008 SP 1?. Mike Ormond Developer & Platform Group Microsoft Ltd Mike.Ormond@microsoft.com http://mikeo.co.uk. Agenda. ASP.NET and Silverlight Controls. < asp:Silverlight > control Hides the raw <OBJECT> tag needed for Silverlight

ayoka
Télécharger la présentation

What’s New for Presentation in Visual Studio 2008 SP 1?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What’s New for PresentationinVisual Studio 2008 SP 1? Mike Ormond Developer & Platform Group Microsoft Ltd Mike.Ormond@microsoft.com http://mikeo.co.uk

  2. Agenda

  3. ASP.NET and Silverlight Controls • <asp:Silverlight> control • Hides the raw <OBJECT> tag needed for Silverlight • Handles both Silverlight V1 and V2 • <asp:MediaPlayer> control • Generates a full Silverlight media player • Player defined in a templated XAML file • Templates also used in Expression Encoder 2 • Driven by JavaScript embedded into the control • Support for CC, markers, chapters, thumbnails etc

  4. Silverlight Controls demo

  5. ASP.NET and “AJAX” • AJAX History Support • Provides a way of marking and restoring navigation points in an AJAX application • AJAX Script Combining • <CompositeScript/>element • JavaScript • Formatting options in the IDE • Better Intellisense support for 3rd Party libraries • EgJQuery, Prototype, Scriptaculous, ExtJS

  6. AJAX and JavaScript demo

  7. ASP.NET Routing default.aspx search.aspx?q=a default.aspx

  8. ASP.NET Routing http://../default.aspx search.aspx?q=a default.aspx

  9. ASP.NET Routing demo

  10. ASP.NET Dynamic Data • “Scaffolding” framework for “instant” ASP.NET applications Routing Pages Item Display Validation

  11. ASP.NET Dynamic Data demo

  12. Agenda

  13. Performance Enhancements • Cold start-up time of WPF applications • Working-set of WPF applications • Various controls within WPF • Deferred scrolling • Recycling containers in ItemsControl • Virtualising the TreeView control • Other areas • Text Rendering • Better XBAP Startup/Download

  14. ListView and TreeView demo

  15. Effects & Direct3D Interop • Bitmap effects moved to hardware rendering • BlurBitmapEffect • DropShadowBitmapEffect • Deprecating other ( software ) effects • Bevel, Emboss, OuterGlow • Direct3D Interoperability class • D3DImage is an ImageSource • Allows for a D3D scene to be used anywhere an Image or ImageBrush would be used • Beyond previous HWND-level interop which hits “AirSpace” issues

  16. Pixel Shader Effects • New, extensible Pixel Shader effects • Easier to use than to write • Can expose DependencyProperties for binding • Written in High Level Shader Language • Compile with DirectX SDK, embed in assembly • Link with WPF code via ShaderEffect base class • Supports multi-input shaders for transitions

  17. Effects, Shaders & Direct3D demo

  18. Application Model & Controls • Splash Screen – simple addition • WebBrowsercontrol • Similar to what we see in Windows Forms • Load HTML from streams or strings • Call JavaScript functions from WPF • Call WPF functions from JavaScript • More controls coming post-Sp1 • DataGridand Ribbon • Early versions on CodePlex in the WPF Toolkit

  19. WebBrowser, SplashScreen, DataGrid demo

  20. .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? No Yes Install ~28MB Client Profile Install 3.5 Sp1 No Reboot Reboot Admin Required Admin Required Schedule 3.5 Sp1 Install

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

  22. .NET Client Profile demo

  23. Resources www.asp.net www.windowsclient.net

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

More Related