Top-10 Ways to "Light Up" Your Application on Windows Vista Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour
2 Agenda Top-10 Developer Calls to Action for Windows Vista 1.Run securely 2.Design for reliability & manageability 3.Establish a customer feedback loop 4.Follow the Windows Vista user experience guidelines 5.Enrich the user experience 6.Enable users to visualize, organize, and search 7.Build for connected systems 8.Bring data to the user with RSS 9.Make document data accessible 10.Build for mobility Create an Impression Be Rock Solid Get Connected Confident Connected Clear 2
Windows Vista & IE7 Readiness Tour Be Rock Solid 3 Agenda Top-10 Developer Calls to Action for Windows Vista 1.Run securely 2.Design for reliability & manageability 3.Establish a customer feedback loop Create an Impression Get Connected Connected Clear Confident 3
Demo: User Account Control Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Run Securely Confident
Windows Vista & IE7 Readiness Tour Goal: Reduce the potential negative impact of malicious code on system files and machine resources User Account Control Basics 1.By default, all interactive processes are launched as "standard user", even if the user is a member of the Administrators group 2.Privilege elevation cannot occur in-process. You must launch a separate process, that is configured to run elevated 3.Privilege elevation always requires user consent What does this mean for developers? –Applications should be made UAC-Aware, by providing an app manifest with a value for the requestedExecutionLevel attribute –Windows Vista does provide a number of compatibility mechanisms to enable legacy non-UAC aware apps to run (Run as administrator, App Compat tab, registry and file system data redirection, etc) 5 Run Securely User Account Control (UAC) Confident Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 6 Run Securely Windows Vista Technologies and Resources (1 of 3) Windows Vista Security Overview (June 2006) c1db829637f5/WindowsVistaSecurityWP.doc c1db829637f5/WindowsVistaSecurityWP.doc User Account Control (UAC) –User Account Control Resources for IT Professionals (TechNet Landing Page) –Windows Vista Application Development Requirements for User Account Control Compatibility bc5e-a2eebb74c16b&DisplayLang=en bc5e-a2eebb74c16b&DisplayLang=en –UAC Team blog –COM Elevation Moniker us/com/html/1595ebb8-65af-4609-b3e7-a21209e64391.asp us/com/html/1595ebb8-65af-4609-b3e7-a21209e64391.asp –Windows Vista UX Guidelines for UAC us/UxGuide/UXGuide/Environment/UAC/UAC.asp us/UxGuide/UXGuide/Environment/UAC/UAC.asp Confident Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour Low Rights IE, Mandatory Integrity Control, UI Privilege Isolation –Understanding and Working in Protected Mode Internet Explorer us/IETechCol/dnwebgen/ProtectedMode.asp us/IETechCol/dnwebgen/ProtectedMode.asp –Security and Compatibility in Internet Explorer 7 whatsnew_70_sec.asp whatsnew_70_sec.asp –IE Team blog Cryptograpy API: Next Generation (CNG) Parental Controls for Windows Vista Run Securely Windows Vista Technologies and Resources (2 of 3) Hidden Slide – included for attendee reference purposes Confident
Windows Vista & IE7 Readiness Tour Windows Filtering Platform Network Address Protection API Windows Remote Management Network Diagnostics Framework Run Securely Windows Vista Technologies and Resources (3 of 3) Hidden Slide – included for attendee reference purposes Confident
Demo: Restart Manager Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Design for Reliability & Manageability Confident
Windows Vista & IE7 Readiness Tour Goal: Reduce the number of reboots required to complete software installations and updates Restart Manager basics –Enables applications and services to be shut down and restarted during installation and patching –Applications that use Windows Installer version 4.0 automatically use Restart Manager to reduce system restarts. What does this mean for developers? –Installer software should call the Restart Manager APIs to shutdown and restart necessary applications/services –Applications and Services should be restart manager "aware" and behave appropriately when being shutdown due to an install –To minimize the impact on users, applications can register for restart with the Restart Manager, periodically save transient state and restore it on restart, 10 Design for Reliability & Manageability Restart Manager Confident Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 11 Design for Reliability & Manageability Windows Vista Technologies and Resources (1 of 2) Restart Manager –API Documentation for Installer Apps –Guidelines for Applications and Services –SDK Samples installed with Windows SDK Program Files\Microsoft SDKs\Windows\v6.0\Samples\winbase\RestartManager Application Recovery and Restart SDK Documentation What’s New in Windows Installer Windows Event Log SDK Documentation Transactional File System Confident Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour Windows Remote Management (WinRM) Microsoft Management Console (MMC) Function Discovery Task Scheduler Windows Power Shell Design for Reliability & Manageability Windows Vista Technologies and Resources (2 of 2) Confident Hidden Slide – included for attendee reference purposes
Demo: Windows Error Reporting Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Establish a Customer Feedback Loop Confident Required for
Windows Vista & IE7 Readiness Tour Goal: Improve the quality of software running on the Windows platform, by helping developers to identify and fix those bugs having the most impact on users Windows Error Reporting Basics –Unhandled exceptions and hangs are automatically reported (if user consents) –Default report includes a minidump and heap information –Integrates with Corporate Error Reporting What does this mean for developers? –Do not handle unexpected exceptions or otherwise disable reporting –Sign up on the Windows Quality Online Services, and regularly download and debug your reports –You can customize error reports, add additional information, or create reports for custom events by using the WER functions 14 Establish a Customer Feedback Loop Windows Error Reporting Hidden Slide – included for attendee reference purposes Confident
15 Confident
Windows Vista & IE7 Readiness Tour 16 Establish a Customer Feedback Loop Windows Vista Technologies and Resources Problem Reports and Solutions App – 4ff5-b210-4dceb3fd mspxhttp://windowshelp.microsoft.com/Windows/en-US/Help/6c8431c2-8cac- 4ff5-b210-4dceb3fd mspx Windows Error Reporting –What’s New in Windows Error Reporting –Windows Error Reporting API Reference Windows Quality Online Services Site – Confident Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 17 Agenda Top-10 Developer Calls to Action for Windows Vista Create an Impression Be Rock Solid Get Connected Confident Connected Clear 4.Follow the Windows Vista user experience guidelines 5.Enrich the user experience 6.Enable users to visualize, organize, and search
Demo: The Windows Vista Visual Experience Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Bringing Clarity to Your World Clear
Demo: New Win32 UI Elements in Windows Vista Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Follow the Windows Vista User Experience Guidelines Clear
Windows Vista & IE7 Readiness Tour Goal: To establish a high quality and consistency baseline for all Windows Vista-based applications. Windows Vista UX Guidelines basics –Reflects important changes in existing UI platform components, changes in style and convention, and new UI features What does this mean for developers? –These guidelines can help you make your application easy to use, easy to learn, and enjoyable for your users –WPF gives you the flexibility to create highly customized user experiences; but you should never feel that using WPF obligates you to abandon the Windows look and feel. 20 Follow the Windows Vista UX Guidelines Windows Vista UX Guidelines Clear Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 21 Follow the Windows Vista UX Guidelines Windows Vista Technologies and Resources (1 of 2) Windows Vista User Experience –What’s New in Windows Vista (UI) us/UxGuide/UXGuide/Resources/WhatsnewInVista/WhatsNew.asp us/UxGuide/UXGuide/Resources/WhatsnewInVista/WhatsNew.asp –Windows Vista User Experience Guidelines –Segoe UI Font us/UxGuide/UXGuide/Visuals/Fonts/Fonts.asp us/UxGuide/UXGuide/Visuals/Fonts/Fonts.asp New Win32 UI Elements –Task Dialogs –Command Links Vista Bridge SDK Samples Clear Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour Common File Dialogs –IFileDialog –IFileOpenDialog –IFileSaveDialog –IFileDialogControlEvents –IFileDialogCustomize –IFileDialogEvents Follow the Windows Vista UX Guidelines Windows Vista Technologies and Resources (2 of 2) Clear Hidden Slide – included for attendee reference purposes
Demo: Windows Sidebar Gadgets Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Enrich the User Experience Clear
Windows Vista & IE7 Readiness Tour Goal: To enable users to be more efficient and productive by providing quick access to "gadgets" (small, light-weight specialized mini-applications) Windows SideBar basics –Windows Vista with several gadgets –Gadgets are developed using HTML and script –Gadgets are desktop-based applications that must be installed and run locally –The gadget platform provides a rich object model that allows gadgets to interact with Windows What does this mean for developers? –Gadget development builds on any web-development skills you may have –Gadgets are easy to build and are a great way to provide quick access to commonly-used application features 24 Clear Hidden Slide – included for attendee reference purposes Enrich the User Experience Windows SideBar
Windows Vista & IE7 Readiness Tour 25 Enrich the User Experience Windows Vista Technologies and Resources (1 of 3) Windows Presentation Foundation (WPF) WPF SDK Documentation Designing with Windows Presentation Foundation us/UxGuide/UXGuide/Principles/WPF/WPF.asp us/UxGuide/UXGuide/Principles/WPF/WPF.asp 5-day ramp-up on WPF Windows Presentation Foundation Community Site WPF Blogger List Clear Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 26 Gadgets ( Windows SideBar Gadget Development Overview Windows SideBar Reference Windows Sidebar team blog: Windows SideShow Reference Windows Live Gallery Microsoft Gadgets Site Enrich the User Experience Windows Vista Technologies and Resources (2 of 3) Clear Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour DirectX for Windows Vista Windows Imaging Component (WIC) Desktop Window Manager Windows Device Driver Model us/dnlong/html/WinVistaDisplayDriverModel.asp us/dnlong/html/WinVistaDisplayDriverModel.asp 27 Enrich the User Experience Windows Vista Technologies and Resources (3 of 3) Clear Hidden Slide – included for attendee reference purposes
Demo: Windows Vista Explorer Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Enable Users to Visualize, Organize, and Search Clear
Windows Vista & IE7 Readiness Tour Goal: help users more effectively locate data (documents, s, photos, etc) on their PC. Search basics –Windows Vista provides a single built-in client indexing platform and a new Property System Used by Explorer, Outlook 2007 and OneNote 2007 Can be used by third party applications. –Extensibility mechanisms enable data providers to feed the index –Applications can query the index What does this mean for developers? –Consider providing an Instant Search box in your application, to provide users with a quick means to find data on their desktop –You can use the OLE DB Provider for Windows Search to submit queries; ISearchQueryHelper can be used to convert user queries to the query syntax expected by the provider 29 Enable Users to Visualize, Organize, and Search Integrating search in your applications Clear Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour Goal: Enable third parties to integrate their file formats with the new visualize, organize, and search features in Windows Vista File format integration basics –Live Icons are provided by implementing a thumbnail provider –Preview pane support requires implementing a preview handler –The properties displayed in the Details pane can be configured by registering a property list –Metadata support is provided by implementing a Property Handler –Full-text indexing is providing by implementing a search filter What does this mean for developers? –Consider implementing these extensibility mechanisms for your file formats, as appropriate. It will improve the overall user's experience when working with instances of your file formats –These extensibility mechanisms are exposed via COM interfaces, that should be implemented in native C++ 30 Enable Users to Visualize, Organize, and Search File format integration with Explorer Clear Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 31 Enable Users to Visualize, Organize, and Search Windows Vista Technologies and Resources (1 of 2) Integrating Search OLE DB Provider for Windows Search –Blog entries on query syntax Supporting the Advanced Query Syntax (ISearchQueryHelper) Reading and Writing Metadata Property System Overview Property Provider API (IPropertyStore) Windows Desktop Search 3.0 Windows Desktop Search 3.0 Beta 2 Download (for XP SP2 and Windows Server 2003 SP1) Windows Desktop Search 3.0 Reference Clear Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour Extensibility mechanisms for file format and data store providers Thumbnail Providers Preview Handlers Property Handlers Search Filters (IFilter) us/indexsrv/html/ixrefint_9sfm.asp?frame=true us/indexsrv/html/ixrefint_9sfm.asp?frame=true Protocol Handlers (ISearchProtocol2) Enable Users to Visualize, Organize, and Search Windows Vista Technologies and Resources (2 of 2) Clear Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 33 Agenda Top-10 Developer Calls to Action for Windows Vista Create an Impression Be Rock Solid Get Connected Confident Connected Clear 7.Build for connected systems 8.Bring data to the user with RSS 9.Make document data accessible 10.Build for mobility
Demo: Ad Hoc Networks and "People Near Me" Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Build for Connected Systems Connected
Demo: Windows Meeting Place Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Build for Connected Systems Connected
Windows Vista & IE7 Readiness Tour 36 Build for Connected Systems Peer-to-Peer Collaboration Infrastructure Goal: to enable collaborative serverless network applications Peer-to-Peer Collaboration Infrastructure basics –Provides APIs that simplify the process by which applications can track peer presence without a server, send invitations to participants, discover peers on the same subnet or LAN, and manage contacts –Enables peers to discover other peers on the same subnet or local area network and allows interaction between those peers What does this mean for developers? –Consider using the new peer-to-peer infrastructure to enable users to communicate and collaborate in rich ways with your applications Connected Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 37 Build for Connected Systems Windows Vista Technologies and Resources (1 of 2).NET Framework 3.0 Technologies Windows Communication Foundation (WCF) –WCF Community site –WCF SDK Docs –Peer to Peer Networking with PeerChannel Windows Workflow Foundation (WF) –WF Community site –WF SDK Docs Windows CardSpace –CardSpace Community site –CardSpace SDK Docs Connected Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour Win32 and COM Technologies Peer-to-Peer Collaboration Infrastructure Blog post on People Near Me API Windows Contacts Remote Assistance APIs General Introduction to IPv6 Introduction to Windows Peer-To-Peer Networking Build for Connected Systems Windows Vista Technologies and Resources (2 of 2) Connected Hidden Slide – included for attendee reference purposes
Demo: IE7 Feeds Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Bring Data to the User with RSS Connected
Windows Vista & IE7 Readiness Tour 40 Bring Data to the User with RSS RSS Platform Goal: enable applications to share the same set of RSS subscriptions and feed data RSS Platform basics –Provides rich functionality for downloading, storing, and accessing feeds across the entire operating system –The Common Feed List provides a single storage location for all subscribed-to sites –The Common Data Store handles downloading, storing, and managing the read and unread status of feed data What does this mean for developers? –The platform does all the hard work of synching, parsing, and storing RSS feeds –You can now focus on creating new end-user experiences with RSS rather than on the details of RSS functionality itself Connected Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 41 Bring Data to the User with RSS Windows Vista Technologies and Resources Windows RSS Platform Documentation Simple List Extensions RSS Team Blog WCF RSS Toolkit Connected Hidden Slide – included for attendee reference purposes
Demo: XPS Documents Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Make Document Data Accessible Connected
Windows Vista & IE7 Readiness Tour Make Document Data Accessible XPS Documents Goal: enable fixed-layout documents that can be easily viewed, printed, full- text searched, and securely protected and authenticated with the latest rights management and digital signature XPS document basics –Windows Vista ships with an XPS Viewer, a print driver that allows users to generate XPS Documents from any application and new print pipeline/driver model enhancements for printing XPS Document format. –The.NET Framework 3.0 provides a set of APIs for creating and manipulating XPS Documents (System.Windows.Documents) as well as file formats conforming to the Open Packaging Convention (System.IO.Packaging). What does this mean for developers? –Consider using the System.Windows.Document APIs to provide fixed-layout format documents of output created by your applications –Consider providing OPC-conformant file format implementations 43 Connected Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 44 Make Document Data Accessible Windows Vista Technologies and Resources XML Paper Specification (XPS) –XPS Specification –XPS Sample Documents Open Packaging Convention (OPC) –OPC Specification –The Addressing Model of the Open Packaging Conventions us/dnlong/html/opcadmdl.asp us/dnlong/html/opcadmdl.asp XPS/OPC Team – alias: –XPS Team blog: –Newsgroup: microsoft.beta.longhorn.xps Connected Hidden Slide – included for attendee reference purposes
Demo: Mobility Center Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Build for Mobility Connected
Demo: Ink Support in Applications Catherine Heller Windows Vista Technical Evangelist Windows Vista & IE7 Readiness Tour Build for Mobility Connected
Windows Vista & IE7 Readiness Tour 47 Build for Mobility Ink Support Goal: enable ink as a rich input mechanism for both Tablet PC users and desktop/laptop users with digitizers Ink basics –Ink support is now available in most editions of Windows Vista –The WPF programming model includes tightly integrated support for ink (InkCanvas) What does this mean for developers? –Ink is no longer a niche scenario, requiring the specialized Table PC form factor –The WPF InkCanvas makes it easy to integrate ink into your applications Connected Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 48 Build for Mobility Windows Vista Technologies and Resources (1 of 2) Key Mobile PC Technologies –Power Management on Windows Vista –Network Awareness on Windows Vista –Data Synchronization on Windows Vista MSDN Mobile PC Developer Center Mobile PC Development Guide Mobile PC User Experience Guidelines for Developers Connected Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour 49 Ink Ink Support in WPF Programming the Text Input Panel in Windows Vista COM Libraries Specific Form Factors Table PC Development Guide Ultra Mobile PCs (UMPC, formerly known as “Origami”) Build for Mobility Windows Vista Technologies and Resources (2 of 2) Connected Hidden Slide – included for attendee reference purposes
Windows Vista & IE7 Readiness Tour Call to Action Summary 50 Start with app compat – test your current applications to ensure they will run correctly on Windows Vista Consider getting the Certified for Windows Vista logo Think about how to make your apps “light-up” on Windows Vista –Where’s the “low hanging fruit”? –What’s aligned with the strategic direction of your product? –Which experiences will provide the greatest value to your users? Discover opportunities for providing new user experiences
Windows Vista & IE7 Readiness Tour Additional Resources MSDN Windows Vista Developer Center Windows Vista,.NET Fx 3.0 Runtime and SDK Downloads Windows Vista Application Compatibility Cookbook us/dnlong/html/AppComp.asp us/dnlong/html/AppComp.asp Certified for Windows Vista Logo Program See Windows Vista Hidden Slide – included for attendee reference purposes
52 © 2006 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.