Your SlideShare is downloading. ×
  • Like
Windows 7 For Developers
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Windows 7 For Developers

  • 979 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
979
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
22
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • KEY TAKEAWAYS: We are not going to cause the same level of pain as we did with Windows Vista. The changes we made in WV caused problems, but the benefits are here now. The path to Windows 7 should be as smooth as the shift from RTM to SP1.Any software that run on Windows Vista Should run on Windows 7In Windows 7 we are building on the advances we made in Windows Vista to help address emerging trends and technologies and meet the needs we’ve heard from our customers. The most important thing we’ve learned is that there is no one-size-fits all solution that’s best for every business. If anything, businesses are becoming more diverse. Some have a large number of mobile workers, some have workers distributed in branch offices around the world. Windows 7 Enterprise, part of the Microsoft Optimized Desktop, gives you the flexibility to support the diverse needs of your unique business by enabling users to Access Information Anywhere, providing greater levels of Security & Control, and Streamlining PC Management. We will be building these new capabilities without making significant architectural changes to the Windows platform. We want to make this clear so businesses can have confidence that investments they make to optimize their infrastructure with Windows Vista and MDOP today will put them in the best position to deploy Windows 7 when it‘s available.Windows 7 will be built on the Windows Vista foundation and will inherit the quality improvements we’ve made in Windows Vista Service Pack 1 and Windows Server 2008.Compatibility with Windows Vista software, hardware and tools is an important goal of this release. We are not able to make specific statement at this time about system requirements or compatibility levels—but we know that we have engaged with the ecosystem much earlier and are not making the broad types of changes to the kernel, driver, or graphics subsystems that we made in Windows Vista. In building Windows Vista we made some significant changes to the platform that had an impact on compatibility. Those changes were important and had a measurable improvement on security. Windows Vista is the most secure client version of Windows to date and experienced fewer than half the number of security vulnerabilities that Windows XP experienced in its first year, and fewer than one-fifth the number of security vulnerabilities as the nearest competitive operating system on the market. Windows 7 also benefits from these important changes, since we are not undoing the changes we made in Windows Vista that resulted in significant security improvements. This also means that customers still using Windows XP when Windows 7 comes out should expect a similar level of compatibility between Windows XP and Windows 7 as there is between Windows XP and Windows Vista. However, the upgrade from Windows Vista to Windows 7 should be easier, given compatibility between these two products. We recommend customers upgrade to Windows Vista now, then move to Windows 7 because the investments required to test and remediate applications, update deployment tools and processes, upgrade hardware will be similar—and you get the benefits of a more secure, modern operating system for a longer time. In Windows 7 we are not making significant changes to the componentization, setup model, or kernel. There will of course be limited changes made to fix bugs and additional features in those areas, but these are not the places we are making significant investments in this release. The client release of Windows 7 will be available in 32 & 64-bit versions.
  • [TDM. DEV][High level overview of the Windows 7 improve performance and main talking points]Windows 7 maximizes hardware energy efficiency and scalability while maintaining high performance. Energy efficiency is improved through reduced background activity and new support for the trigger starting of system services. Windows 7 also offers improvements in the Windows kernel that enable applications and services to scale efficiently between platforms. Performance of many features and APIs is improved in Windows 7 versus Windows Vista. For example, driver performance on servers is optimized by new user-mode and kernel-mode topology APIs. Graphics rendering is considerably smoother and faster. Accessibility performance is also significantly faster than before.
  • [TDM, DEV][What - Windows 7 Taskbar feature overview] Not all the features in the Windows 7 Taskbar are applicable to all applications. Each application needs to be evaluated on its own.
  • [TDM, DEV] [Taskbar Icons – Details]ICONSAre you putting your best foot forward?Make sure your icon looks greatCheck different DPIsCheck different glass colors and disabled glassHow does Color Hot-track look?Determined by your icon’s dominant colorIcons OverlayDo you need to surface notifications?Does this help the user make a decision?Single icon at a time (LIFO)No animationsIdeally, application-specific Group vs. UngroupCan you retire your icon in the Notification Area?Progress barDoes your program require progress status?Does this help the user make a decision?Do you already surface a progress dialog?One detailed progress at a time
  • [TDM, DEV][Windows 7 Taskbar Details – Important enough to not hide]Jump Lists are a new feature of the Windows 7 taskbar that accomplish just this. Think of this feature as a mini Start Menu for each program or an evolved version of the system menu. First, the you don’t need to even start the program to quickly launch a file or access a task. Second, destinations don’t take up valuable space on the taskbar; they are automatically organized by their respective program in a simple list. Should one have ten programs pinned or running on her taskbar, this means she could have quick access to over 150 destinations she uses all the time, without even the need to customize the UI! Since the Jump List shows lots of text for each of its items, gone are the days of having identical icons on your taskbar that are indistinguishable without a tooltip. Should you wish to keep a specific destination around, you can simply pin it to the list.
  • [TDM, DEV][Why - Windows 7 explorer overview – leading to Libraries, this is needed for background on Libraries]Why are here? Why does it matter? explosion of docs, pics, music…the tools need to keep up with this explosion. Users are asking us Finding -- That one file…that I needBrowsing – maybe you are looking for that folder with the file…what it looks like…the shape of the documentSearch – you know one thing about a file organize – what tools are available to help you put your stuff where you can easily find it later Libraries are destinations where users can find and organize their data as collections of items that may span multiple location
  • [TDM, DEV][Why - Windows 7 explorer overview] - The new windows explorerOver 400M people use Windows Explorer to find and organize their digital content the explorer is more focused around storage..navigation only shows locations that you care about…its cleaner we’ve improved search relevance algorithms, added tools like search tips and one-click previews that make it easier to find that file…no matter where you put it we’ve made major investments in new powerful features…libraries and federated search…without making you learn a new UI. This is seamess.Cleaner – Navigation is intuitive and optimized around storage; less overall clutterEasier – Improved relevance, search tips and easy previews make searching and browsing easierSeamless – Libraries and federated search offer incredible power without learning a new UI we’ll get to this in more detail in the demos show the power and flexibility that we’ve added same familiar explorer rather than redesigning the whole explorer…we’ve focused on performance and the basics…it’s just better
  • [TDM, DEV][Why - Windows 7 Libraries overview]People want rich and custom visualization of their files, regardless of how it is stored in foldersPeople store data all over the computer54% of digital content (documents, pictures, music, etc.) lives outside of the user profileMost users do bothLibraries are destinations where users can find and organize their data as collections of items that may span multiple location libraries offer rich pivots of your data. look at this, these aren't folders, we’re looking at a rich metadata backed view of all of my albums. Just as performant and useful as my folder view I don’t keep all my files in the ‘my music folder’ so check this out. This library is the aggregate of all the folders I care about. External drive, second partition.
  • [DEV][technical details on supporting in applications – Call to Action]Everything exposed by the Shell UI can be done programmaticallyThe Shell exposes several COM objects and Helper functions to work with libraries:Create new libraryOpen an existing libraryAdd or Remove folder from a libraryGet a folder list from a libraryGet & Set library optionsGet & Set the library icon
  • [TDM, DEV][High-level Libraries and Windows explorer demo][See attached demo script (content soon to tome)] lets take a look at libraries documents I can view by authorSearch and get historyHit highlightingPicturesAdd location to libraryView by date taken, by tagSearch and get filter suggestionsLibraries aware applicationsApplication that are not libraries aware
  • [DEV, TDM][High level overview of Why Multi Touch]Multi-touch offers clear differentiation with a high “WOW” factor for consumersMulti-touch enhances on-the-go use and opens up new scenarios for business90% of people in focus groups claimed they would pay a 20-30% premium for a PC with multi-touchSeeing is believing: Consumer purchase intent doubles after hands-on experienceMulti-touch is major investment area for Windows 7MT is defined a two or more independently trackable touch points.MT scored very favorably in user testingConsumer awareness and interest in touch is highCustomers view touch interaction as the next stage of computingTouch offers a direct personal “natural” connection to their applications and freedom from the keyboard and mouse.Touch would help users be more efficient and be fun to use.
  • [TDM, DEV][Why - Windows 7 Ribbon Platform overview]
  • [TDM, DEV][What- Windows 7 Ribbon Platform overview]The Ribbon – a very successful concept from Office 2007 has become a first class citizen in Windows 7 and it is evolved into a developer platform. Many developers asked us to enable ease access to the office Ribbon. So in Windows 7 we have created the Ribbon which will also be redistributed available to Windows VistaIt is a Win 32 native COM base APIAnd it has a very close functionality to the office Ribbon
  • [TDM, DEV][What - Windows 7 Ribbon Platform available controls]Show Live Movie Maker Beta to emphasize that other Windows apps are using the Ribbon
  • [TDM, DEV]Sensor Platform Windows 7 has changed how developers use sensors. It includes native support for sensors, expanded by a new development platform for working with sensors, including location sensors, such as GPS devices. Built on the Sensor platform, the Windows Location APIs are a new Windows 7 feature that enables application developers to access the user’s physical location information. The Windows Location APIs can abstract hardware, simultaneously support multiple applications, and seamlessly switch between different technologies, relieving the application developer of the burden of managing these constraints. The Location APIs can be used by programmers through the C++ programming language (by programmers familiar with COM), or by using COM objects in scripting languages, such as JScript®. Scripting support gives easy access to location data for projects such as gadgets or web pages.Windows 7 provides a solid, easy-to-use platform for using sensor devices, such as an ambient light sensor or a temperature gauge, to create environmental awareness in Windows applications. PCs can use sensors that are built into the computer, connected through wired or wireless connections, or connected through a network or the Internet.The Sensor and Location APIs provide a standard way to discover sensors, and to programmatically access data that sensors provideThe Sensor control panel lets users enable or disable sensors, control access to sensors that might expose sensitive data, view sensor properties, and change the descriptions of sensors.The Sensor Class Extension is a core part of the driver development model for the Sensor platform. It provides the following mechanisms, which are used when writing a User-Mode Driver Framework (UMDF) sensor driver:Integration with the Sensor platformSecurity enforcement
  • [TDM, DEV][Why - high level overview of Graphics (improvements) in Win7]High-Fidelity Graphics with DirectX Windows application developers have long used DirectX® to provide high-quality, hardware-accelerated, 3D graphics. When the technology debuted in 1995, developers could provide high-quality 3D graphics for games and engineering applications for gamers and professionals willing to pay extra for a 3D-graphics board. Now, even the most inexpensive PCs include capable 3D-graphics hardware.To take advantage of these graphics capabilities, Windows Vista introduced the Windows Display Driver Model (WDDM) infrastructure for DirectX that enabled multiple applications and services to share the resources of the GPU. The Desktop Window Manager (DWM) uses this technology to animate task switching in 3D, provide dynamic thumbnail images of application windows, and to provide Windows® Aero® glass effects for desktop applications.Windows 7 puts even more graphics capability into the hands of application developers. Through a new set of DirectX APIs, Win32 developers can take advantage of the latest innovations in GPUs to add fast, scalable, high-quality, 2D and 3D graphics, text, and images to their applications. On the latest LCD displays, DirectX APIs can display desktop and window content using color depth greater than 8 bits per color component. With DirectX, Win32 developers can also use the GPU’s parallelism for general-purpose computation such as image processing, and can render to DirectX 10 hardware, DirectX 9 hardware, the CPU, or to a remote Windows computer. These technologies were designed to interoperate with GDI and GDI+, ensuring that developers can easily preserve their existing investments in Win32 code. These enhanced graphics capabilities are provided by the following COM-based APIs:Direct2D for drawing 2D graphics.DirectWrite for arranging and rendering text. Windows Imaging Component for processing and displaying images.Direct3D® 10 for drawing 3D graphics. Direct3D 11 for drawing 3D graphics, and providing access to next-generation GPU technologies, such as tessellation, limited support for texture streaming, and general purpose computing.DirectX Graphics Infrastructure (DXGI) for managing devices and GPU resources, and providing interoperability between DirectX and GDI
  • Direct 2D – rendering improvementsDirectWrite – cool DirectWrite demoDirect3D - Demo
  • [TDM, DEV][See attached demo script (content soon to tome)]
  • I have only scratched the surface.Powershell – Scripting with the power of .NETMedia Foundation – Specific improvements for VoIP, bluetooth call control, more formatsWindows Connectivity PlatformWindows 7 provides a platform that gives users ubiquitous connectivity to their data from nearly any locale. Trends in network convergence of voice, video, and data are driving the deployment of higher bandwidth everywhere. However, limitations in addressing have forced the deployment of private addressing and Network Address Translators (NATs). Windows Connectivity Platform addresses these limitations by defining a pluggable extension that provides the following benefits: Enables developers to build applications to work with this technology through existing APIs in Windows 7. Defines a public interface that's a third-party NAT traversal that solutions can use. Enables multiple NAT traversal solutions to coexist on the same computer in a secure manner. Enables Windows applications to get better end-to-end IP connectivity. Windows Troubleshooting PlatformWindows 7 delivers a comprehensive and extensible Troubleshooting Platform that uses a PowerShell-based mechanism to troubleshoot and resolve problems. The key components of the Troubleshooting Platform include a troubleshooting package, troubleshooting engine, and troubleshooting wizard. The troubleshooting pack is a collection of PowerShell scripts and relevant metadata. The troubleshooting engine launches a PowerShell runtime to execute a troubleshooting pack, and exposes a set of interfaces to control troubleshooting pack execution. XPS DocumentsWindows application developers can create applications that produce XML Paper Specification documents with Windows 7. This enables them to integrate tightly with the document peripheral ecosystem (devices like scanners and printers) and to work with secure electronic paper to support publication and archivingWindowsBiometeric FrameworkThe Windows Biometric Framework (WBF) provides an API which enables applications to use fingerprint devices to enroll, identify, and verify user identities without gaining direct access to any biometric fingerprint hardware or samples. You can use WBF with fingerprint devices that have Windows Biometric Device Interface (WBDI) drivers. WBF is extensible through plug-in adapters that manage sensor communications, biometric matching, and template storage. This ensures that WBF can be used with a wide range of fingerprint sensors. In Windows 7, fingerprint readers can use WBF for authentication during UAC and Windows logon.Check Windows 7 Developer Guide for more information.
  • [TDM, DEV]After making your application run on Windows 7 it is time to optimize into Windows 7 user experience. Start by using Windows 7 Taskbar and Libraries.
  • Windows 7 and Windows Server 2008 R2 Ecosystem Readiness Program The Windows Ecosystem includes hardware, software, and services partners.  In addition to providing partners with access to the software and tools they need to build and test solutions for Windows 7 and Windows Server 2008 R2, the Ecosystem Readiness Program also facilitates testing multiple components of the ecosystem together to improve the overall user experience. Rather than just focusing on getting a specific OEM product, software application, or hardware device certified, we will be bringing multiple components together to verify a rich user experience that delivers quality, reliability, and performance as well as innovation through new feature adoption. To join the Windows 7 and Windows Server 2008 R2 Ecosystem Readiness Program click here if you are a software developer and here if you develop hardware.herehere

Transcript

  • 1. Sachin V. Rathi Architect Advisor, Microsoft Corp. http://blogs.msdn.com/sachinrathi
  • 2. An Avid Gamer An Architect A user/consumer/producer
  • 3. Welcome!
  • 4. World We Live In Surface Consumer Messaging Social Devices Networking Work Server PCs Mobile s Netbooks/Nettops
  • 5. What Makes Windows 7 Great? Fundamentals Taskbar Libraries Multi Touch Ribbon Sensor and Location Graphics
  • 6. 1. Fundamentals
  • 7. Windows 7 Builds on Windows Vista Avoid Unnecessary Churn: Most software that runs on Windows Vista will run on Windows 7 - exceptions will be low level code (AV, Firewall, Imaging, etc.) Hardware that runs Windows Vista well will run Windows 7 well Few Changes: Focus on quality and reliability improvements Deep Changes: New models for security, drivers, deployment, and networking
  • 8. Solid Foundation
  • 9. Windows API Code Pack Managed class library to ease .NET access to Windows 7 features Shell, Libraries, Taskbar, Sensor, Graphics, Multi Touch, UAC, Power management, Restart and recovery, Network awareness, Aero Glass and more. http://code.msdn.microsoft.com/WindowsAPICodePack
  • 10. Windows API Code Pack
  • 11. 2. Taskbar
  • 12. Windows 95
  • 13. Windows 7 Taskbar Enhanced user experience Jump Lists Quick and easy launch of applications Thumbnail Toolbars Easier to Switchers Custom manage windows The user is in control Icons Clean and lightweight Overlay Icons Standard Windows UX guidelines Progress Bars All of Microsoft’s products
  • 14. Windows 7 Taskbar – Icons Face of your program Large and small icons Only customer can pin Color hot-track Icon Overlay Surface important notifications Appears over your program’s icon Progress bar Surface important notifications Appears in your taskbar button
  • 15. Windows 7 Taskbar – Jump Lists Mini Start Menu for your program Surface key destinations and tasks Customizable Accessible via right-click and via drag
  • 16. Windows 7 Taskbar
  • 17. 3. Libraries
  • 18. Windows Explorer Massive growth in digital content Users demand powerful and intuitive tools to search, organize and browse Two primary ways for finding data: Browse by location, context, visual cues Search by name, metadata and full-text
  • 19. Windows 7 Explorer
  • 20. Supporting and Using Libraries Your application should: Support open and save in libraries Select and consume library contents Stay in sync with library locations e.g. Windows Media Player The Windows 7 enables this via: Common File Dialog Native: IFileDialog Managed: System.Windows.Forms.FileDialog Shell abstractions (i.e. IShellFolder) New Library API to manage libraries
  • 21. Be Library Aware
  • 22. Federated Search
  • 23. Libraries
  • 24. 4. Multi-touch
  • 25. Multi - Touch Is Here MT is defined as two or more independently traceable touch points Consumers MT scored very favorably in user testing Proven successful touch interfaces Multi-Touch offers clear differentiation with a high “WOW” factor for consumers Multi-touch enhances on-the-go use and enable new scenarios Hardware Multi-touch capable machines in market today in a broad set of form factors
  • 26. Multi Touch
  • 27. 5. Ribbon
  • 28. Windows Ribbon Proven and very successful UX concept Improve usability and discoverability Increase user productivity Improve developer productivity Based on common architectural Eliminate much of Win32 UI development
  • 29. Windows Ribbon Application Menu Quick Access Tab Contextual Tab Set Help Toolbar Contextual Tab Group (aka “Chunk”) Dialog Launcher In-box with Windows 7, redistribution available to Vista Win32 API, Feature parity (or close) with Microsoft Office 2007 Ribbon, and WPF Ribbon
  • 30. Windows Ribbon - Controls
  • 31. Ribbon Control
  • 32. 6. Sensors and Location
  • 33. Sensor And Location Platform Provides unified driver model for all types of sensor devices Physical sensors (e.g. Motion, GPS, Light Sensors) Logical sensor (e.g. Wi-Fi triangulation, IP resolver) Provides standard APIs for accessing sensors Sensor API: C++/COM / Managed code Location API: C++/COM, IDispatch Managed code
  • 34. 7. Graphics
  • 35. Graphic Improvements Windows 7 DWM memory consumption is cut by 50% per window Take advantage of the GPU’s computation power High-DPI support & High Color Great interoperability across technologies Direct3D Segoe UI DXVA & WIC Direct2D DirectWrite
  • 36. Graphics Improvements in Windows 7
  • 37. Virtual Windows XP Application Compatibility - Lab Pre-configured Windows XP VHD image USB Support New Windows 7 style UI Seamless Applications
  • 38. Virtual Windows XP
  • 39. What’s New in Windows 7 RC Improved taskbar thumbnail Turning Windows Features On overflow or Off Max cap on Jump Lists items Virtual Windows XP Control Panel Jump List Windows Logo Self Test Tools New folder is always available Multi-touch Pack Intelligent re-indexing after SDK: 132 new samples, 80% application installation content refresh, 5 new tools USB device reliability on resume Windows API Code Pack FireWire camera support Add Legacy Hardware functionality restored Custom theme improvements
  • 40. More Developer Technologies PowerShell 2.0 Device Experience Platform MSI 5.0 Media Foundation Multi Core Windows Connectivity Platform Windows Animation XPS Documents Windows Biometric Framework Windows Web Services .NET 3.5 SP1
  • 41. Call to Action Windows 7 Application Compatibility Lab !!! Demo Extravaganza…… Optimize for Windows 7 Use Windows 7 new Taskbar & jump lists Become library aware Manage files & data with libraries Create next generation software: Develop for Multi-Touch Use the Ribbon were appropriate Enhance User Experience with Sensor and Location Adopt the new DirectX Graphic APIs
  • 42. Windows 7 Readiness Programs Make sure your applications work with Windows 7 Join the Windows 7 Ecosystem Readiness program Allow MS to tell our customers about your Apps Publish your support policy for Windows 7 List your solutions on the Compatibility Center Get the Windows 7 Logo Focused on Compatible Applications Simple Process – No 3rd party testing required
  • 43. © 2009 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.