Are you a startup?
Get BizSpark cloud access
Get up to $3,700 of cloud benefits
Don’t have MSDN?
Here’s cloud access
The release candidate (RC) for Windows 7 is just around the corner. Dates for the Windows 7 RC were announced earlier this week. This blog posting is meant to be a one-stop introduction to next steps for the process of getting your application Windows 7-compatible and then lighting up your application with the new features in Windows 7. This is a real opportunity for your company to lead in your market.
The Microsoft Partner Program has a good list of Windows 7 resources of ISVs including white papers, lists of the editions and features, small business training kits.
For videos about the new Windows 7 features, see Windows 7 Beta videos. You'll find short sneak peeks of about 90 seconds about many of the new features.
The first order of business is application compatibility. Generally, if your Windows client application runs under Windows Vista, you're probably compatible. But to be safe, check out the Windows 7 Application Compatibility Guide. The Guide highlights changes that could affect your application. it also points out differences in performance, reliability, and usability, and provides links to detailed white papers and other developer guidance.
Next, test your application. We have labs across the USA to help you test your application. For more information, see Dates Updated for Windows 7 Application Compatibility Labs. And there will be labs set up at TechEd. For more information, see Test Your Application on Windows 7 at TechEd 2009. And you are welcome to use the testing labs in Redmond. You'll have access to all the resources to get your applications ready for Windows 7. Send e-mail to get information on how to get access to the Windows 7 application compatibility labs in Redmond, WA.
Next certify your application as compatible. There are several steps, but once you you complete the steps, you can display the Compatible with Windows 7 logo. Unlike past application certification, Windows 7 logo is a self test. The test tools are currently in pre-release. You'll be able to do some early testing. Basically once you complete the test after the final version is released, you submit your results, and can display the logo. Completing the steps will also qualify your company for partner points in the Microsoft Partner Program. For more information, see Windows 7 Software Logo. Be sure to sign up for the newsletter to receive the invite, codes to activate the logo testing tools, and up-to-date information.
If you'd like to find out more about application compatibility, attend the Windows 7 Virtual Readiness Day.
One final note: you'll want to do a clean install if you are running Windows XP or Windows 7 Beta. For more information, see Delivering a Quality Upgrade Experience.
The browser that ships on Windows 7 is Internet Explorer 8. And users of Windows XP, Windows Vista, Windows Server 2003 or Windows Server 2008 are getting notified through Automatic Update to update to Internet Explorer 8. So if you haven't done so already, be sure both your Web application and your customer-facing Web site are compatible with Internet Explorer 8.
As a short term measure, you can add a tag to your Web application at the page or site to render your site in IE8 as it does in IE7. For more information, see Introducing IE=EmulateIE7. That's a short term measure though. You'll want to update your Web pages from IE7 to IE8. The Internet Explorer team has pulled together a list of the major things to look for in your pages and how to update them at Site Compatibility and IE8.
And while you are looking at your code, you can also add a tag that will prevent clickjacking your site. For more information, see Prevent Clickjacking on Your Site with a Metatag.
Next, you can light up Windows 7 features in your application. Lighting up your application in Windows 7 gives the users a better experience and shows you are among the development leaders. Many of the features are relatively easy to implement too. Lighting up Windows 7 is about adding to your application, not about rewriting or major revisions. Some of the features can be implemented in just a few lines of code.
So, you'll want to decide what features you want to light up. What features really add value for your users? You can get a complete list of features for your application at Windows 7 Developer Guide.
But I wanted to highlight some of the features and provide some links on where you can get started.
Before I dive into the main features for line of business applications, you'll want to get:
So you have the tools. Here's a list of what features you can light up: Windows 7 Touch, Taskbar, Libraries, Sensor and Location, PowerShell, and much more.
Touch is probably the biggest crowd pleaser for demos and functionality. It offers some real innovation for your application. And the feature will get you thinking about how your application can be more exciting to your users. To take advantage of Touch, you are going to need a PC that supports multiple touch points.
The current API is native (unmanaged code) and in the near future Windows Presentation Foundation (WPF) 4 will include full support of Multi-Touch in Windows 7.
You can get started today seeing more about the possibilities. The Windows 7 SDK includes a few demos for reference, including detailed samples showcasing Multi-Touch gestures support, manipulation and inertia for both WinForms and WPF.
For an overview, see Enabling Multi-Touch in the Windows 7 Beta. For code samples and hands on labs, see Windows Touch: Developer Resources. You can get a good idea of how powerful the features are for Touch in a video Windows Media Center on Windows 7 with Touch.
You'll notice the Taskbar the first time you open up Windows 7. The Windows 7 engineering team describes the evolution behind the taskbar.
There are several features in the Taskbar for you to light up your application.
Some additonal customizations are:
For more information, see Windows 7 Taskbar .NET Sample Library – an Overview. You'll find an overview, links to MSDN, and links to videos that show you how to implement the features.
Also see Windows 7 Taskbar Developer Resources on MSDN for code samples, videos, and conference presentations.
Libraries are user-defined collections of content. Libraries extend the idea of known folders to make it easy for users to save files in a consistent way. Content can be stored all over the PC and network. Libraries gives users control over their “Documents Library” folder structure. Users define which folders to include in the Documents Library.
As a developer, you can access a user's Library and consume its contents, removing the need maintain your own set of data storage for your application.
For example, your application might have its document type, such as a patient record file, where adding a custom library might assist your users in grouping together all patient records separate from other document types like photos or documents. You might want to save the records to a designated disk in the organization they can be centrally managed. And you'd like to make that storage location obvious to the user.
To get started, use the common save dialog box for your applications. This will automatically display libraries to your users. To use the new Common Dialog, you'll need to use the newer Vista or Windows 7 API in the System.Windows.Forms.FileDialog namespace. It's like a half dozen line of code described in Light Up with Windows 7 Libraries.
You can add other features as needed. You can:
You can also enable your applications to select Libraries and consume Libraries contents. And your applications can stay in sync with Library contents and directly manipulate Libraries. You can have full control over libraries, including creating new libraries.
For more information, see this series of posts on the Windows Team Blog for developers.
For a video to see Windows 7 Libraries in action, see Windows 7: Find and Organize.
You can look at PowerShell in a several ways as an ISV.
Using PowerShell in your development efforts and to empower your users to customize the functionality and leverage your application in new ways. For example, PowerShell can be used to automate your application and configuration.
You won't be alone; ITPros are already using more than a hundred PowerShell scripts available in The Script Center to managing Exchange Server 2007 and IIS using Windows PowerShell cmdlets for managing IIS 7.0
Give PowerShell scripters access the functionality of your application by creating custom CmdLets. You can also build PowerShell scripts to help automate testing your application.
If you expose your heirarchical data that the user will need to access, you might need to write your own Windows PowerShell provider, as described in How to Create a Windows PowerShell Provider.
Fire cmdlets from user interfaces to allow users to customize actions during installation and configuration.
Some other parts of Windows 7 that you'll want to consider:
For more information, see:
Participate in forums. The Windows Client Forums for software developers on MSDN allow you to connect with the community, ask for technical insight, and seek answers to your questions.
Get Windows 7 through Microsoft Connect, the program provides you access to Windows 7 builds, application testing labs and toolkits to commence your development efforts to help you build innovative solutions for your customers.
Attend the Windows 7 Virtual Readiness Day.
The time is now. Windows 7 public release is just around the corner.
Check out this great blog post one of our Architect Evangelists ( Bruce Kyle ) – filled with useful links.