html5-img
1 / 29

Understanding the Windows Phone 7 Development Tools

Required Slide. SESSION CODE: WPH303. Understanding the Windows Phone 7 Development Tools. Maarten Struys Windows Phone Evangelist Alten PTS. Agenda. Introduction Getting the tools Microsoft Visual Studio 2010 Express for Windows Phone Windows Phone 7 Emulator

thuy
Download Presentation

Understanding the Windows Phone 7 Development Tools

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. Required Slide SESSION CODE: WPH303 Understanding the Windows Phone 7 Development Tools Maarten Struys Windows Phone Evangelist Alten PTS

  2. Agenda • Introduction • Getting the tools • Microsoft Visual Studio 2010 Express for Windows Phone • Windows Phone 7 Emulator • Expression Blend for Windows Phone • Visual Studio 2010 Express SKU versus paid SKU’s • Q & A

  3. IntroductionAbout me – Setting the stage This talk is based on my personal experiences with Windows Phone 7 • Windows Embedded CE developer (1996) • Windows Mobile developer (2000) • Windows Phone 7 developer (March 2010) • Not a Microsoft employee • Only using the tools that are publicly available (April CTP)

  4. IntroductionWindows Phone 7 – A New Kind of Phone Great News, not only for End-Users but also for Developers • End-User experiences are very important • Windows Phone 7 Developers will use the latest Development Tools • The potential Windows Phone 7 Developer Community is large • Developing applications for Windows Phone 7 is fun • Free versions of the Development Tools for everybody

  5. IntroductionWindows Phone 7 – A New Kind of Developers Who can develop applications for Windows Phone 7? • The Windows Phone 7 Application Model is familiar to Silverlight Developers • Windows Phone 7 Applications can be Silverlight based • Keep in mind that you are developing for a phone • The Windows Phone 7 Application Model is familiar to Game Developers • Windows Phone 7 Applications can be XNA based • Keep in mind that you are developing for a small device • The Windows Phone 7 Application Model is familiar to WM Developers • The life of managed application developers becomes easier • No P/Invoke, limited number of form factors

  6. Getting StartedVisit the Windows Phone Developer Portal Your one stop shop to • Get all the development / design tools you need • One single download gets you all the tools • Integrate nicely with already installed ‘paid’ SKU’s of the tools • Get inspired by blog entries, white papers, events and other resources • Get assistance from our daily growing Developer Community through Forums • Submit your applications for verification and deployment • Right after this talk go to http://developer.windowsphone.com/Default.aspx

  7. Microsoft Visual Studio 2010 Express for Windows Phone Features Free version of Visual Studio 2010 to develop Windows Phone Applications • Develop Silverlight Applications for Windows Phone • Combination of XAML and C# code • Code execution inside a protected environment • Develop XNA Framework based Applications for Windows Phone • Combination of content (art) and C# code • Code execution inside a protected environment • Runs side-by-side with Microsoft Visual Studio 2005 / 2008 • Allows ongoing development for Windows Mobile 6.x

  8. Microsoft Visual Studio 2010 Express for Windows Phone Look and Feel

  9. Microsoft Visual Studio 2010 Express for Windows Phone Which device to run your applications on? Using the Windows Phone 7 Emulator • Your first Windows Phone 7 target device for new applications • Application behavior on the emulator identical to a physical device • Great device to initially test your applications • Easy application deployment • Direct deployment from within Visual Studio 2010 • One emulator can host applications from multiple Visual Studio 2010 instances • Performance behavior and user experience will be (slightly) different

  10. Microsoft Visual Studio 2010 Express for Windows Phone Debugging Capabilities Of course you don’t have bugs in your applications, but how to find mine? • Adequate debugging experience to find ‘day-to-day’ bugs • Setting breakpoints • Inspecting variables • Setting variables • Executing individual methods • Using the Output Window for Trace / Debug information

  11. Developing and Debugging a Windows Phone Application DEMO

  12. Windows Phone Application AnatomyCollaboration between XAML and C# code behind • Everything can be done in code, but not always the easy road • XAML defines what you see on the phone • Code behind defines the behavior of your application • Software developers will meet XAML during application development • Developer and Designer roles combined • Making simple changes by modifying XAML code immediately • Creating static UI layouts from within Visual Studio 2010 • Designer support good enough to create the UI • No Support for dynamic behavior

  13. Microsoft Expression Blend for Windows Phone The road to creating really beautiful User Interfaces Expression Blend is used to design User Interface Experiences • You can build amazing experiences relatively easy • Has a learning curve, especially for developers • The tool is powerful but use it ‘wisely’ for Windows Phone UI design • The tool of choice for transitions / animations • Has great support for showing / testing data driven UI elements • Can be used in combination with Visual Studio 2010 • Uses the same Windows Phone Emulator to test experiences

  14. Microsoft Expression Blend for Windows Phone Look and Feel

  15. Adding a Cool UI to a Windows Phone 7 Application DEMO

  16. Moving Beyond Visual Studio 2010 Express Windows Phone 7 Development and other Visual Studio SKU’s All Windows Phone 7 tools integrate in other Visual Studio 2010 SKU’s • You will get additional tools that can partly be used for phone development • Code Analysis, Code Metrics, (Profiling using a different target platform) • Better Debugging Experience • Great control over breakpoints • Additional tracing functionality • Team Collaboration • Targeting multiple platforms in multiple programming languages • XNA Studio supports creating project copies

  17. Moving Beyond Visual Studio 2010 Express Not all Visual Studio 2010 Tools can be used for Windows Phone 7 • Can use tools that work directly on your source code • Cannot use tools that collect runtime information • No Edit and Continue support • No profiling on the device / emulator • No ‘standard’ Visual Studio 2010 unit testing support • Unit Testing through Silverlight Unit Test Framework • Ships as part of the Silverlight Toolkit (http://silverlight.codeplex.com/) • Device Performance Measurement • EnableFrameRateCounter on device • EnableRedrawRegions on the device

  18. Using a non-express version of Visual Studio 2010 DEMO

  19. Conclusions • Windows Phone 7 is a new kind of phone • User Experience is completely different • Develop applications using the latest family of tools • Windows Phone Application Developers are First Class Citizens • Your applications are managed code (C#) only • Application deployment will be through Market Place • The paid SKU’s of Visual Studio have additional tools to increase your productivity and quality of code • Developing for Windows Phone 7 is FUN!

  20. Windows Phone Resources Questions? Demos? The Latest phones? Visit the Windows Phone Technical Learning Center for demos and more… • Business IT Resources www.windowsphone.com/business • Developer Resources developer.windowsphone.com • Experience Windows Phone 7 on-line and get a backstage pass www.windowsphone7.com

  21. Win a Windows Phone Contest Hat Contest* How do you enter? Enter by visiting the Windows Phone booth, accepting a free Windows Phone branded hat, and wearing that hat during the Event. How am I selected? Each day of the event, a Windows Phone representative will randomly select up to 5 people who are observed wearing their Windows Phone branded hat Session Contest* During each Windows Phone session the moderator will post a question. The first person to correctly answer the question and called on by the moderator will potentially win Questions? Go to the WPH Information Counter at the TLC * Restrictions apply please see contest rules for eligibility and restrictions. Contest rules are displayed in the Technical Learning Center at the WPH info counter.

  22. Related Windows Phone Content – Breakout Sessions Mon &Tue Monday WPH301WP7: Deploy Microsoft Forefront Unified Access Gateway for Access Control to SharePoint, Exchange and more. WPH202 Deploying Windows Phone 7 with Exchange Server and SharePoint Server Tuesday WPH203 Overview of the Windows Phone 7 Application Platform WPH313 Windows Phone 7 Architecture Deep Dive WPH304 An In-Depth view at Building Applications for WP7 with Silverlight (Part 1) WPH305 An In-Depth view at Building Applications for WP7 with Silverlight (Part 2) WPH306 Developing Occasionally Connected Applications for Windows Phone 7

  23. Related Windows Phone Content – Breakout Sessions Wed &Thu Wednesday WPH310 Designing and Developing for the Rich Mobile Web WPH311 Developing Mobile Code Today that will run on WP 7 Tomorrow WPH309 Silverlight performance on Windows Phone WPH307 Building Windows Phone Games with XNA WPH308 Building a High Performance 3D Game for Windows Phone Thursday WPH303 Understanding the Windows Phone 7 Development Tools WPH314 Learn Windows Phone 7 Development by Creating a Robotic T-Shirt Cannon WPH312 Understanding Marketplace and Making Money with WP7 Applications

  24. Related Windows Phone Content – Interactive Session & HOL Windows Phone Interactive Sessions Windows Phone 7 Demo Only! Microsoft’s Next Generation Mobile Enterprise Application Platform (MEAP) Windows Phone 7 Application Performance Prepare for Windows Phone 7 Development! Coding practices you should start using now in Windows Mobile Windows Phone Hands On Labs Hello Windows Phone - Building Your first Windows Phone Application Microsoft Silverlight for Windows Phone Microsoft XNA Framework 4.0 for Windows Phones Using Push Notifications and Windows Communication Foundation (WCF) Services

  25. Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn

  26. Required Slide Complete an evaluation on CommNet and enter to win!

  27. Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year

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

  29. Required Slide

More Related