1 / 24

WPH305: Understanding the Windows Phone 7 Development Tools

WPH305: Understanding the Windows Phone 7 Development Tools. Maarten Struys Windows Phone / Windows Embedded Evangelist Alten PTS. Agenda. Introduction Getting the tools Microsoft Visual Studio 2010 Express for Windows Phone Windows Phone 7 Emulator Expression Blend for Windows Phone

gaille
Télécharger la présentation

WPH305: 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. WPH305: Understanding the Windows Phone 7 Development Tools Maarten Struys Windows Phone / Windows Embedded 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. 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 use the Latest Development Tools • The Potential Windows Phone Developer Community is Large • Developing Applications for Windows Phone 7 is Fun • Free Versions of the Development Tools for Everybody!

  4. IntroductionWindows Phone 7 – A New Kind of Developers Who can Develop Applications for Windows Phone 7? • The WP7 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 WP7 Application Model is familiar to Game Developers • Windows Phone 7 Applications can be XNA Framework based • Keep in mind that you are developing for a small device • The WP7 Application Model is familiar to Windows Mobile Developers • The life of managed application developers becomes easier • No P/Invoke, limited number of form factors

  5. 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 • Additional updates might be available through the Microsoft Download Center • 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 the Developer Community through Forums • Submit your applications for verification and deployment • Right after this talk go to the App Hub, get the tools [and sign-up] http://create.msdn.com/en-US/

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

  7. Visual Studio 2010 Express for Windows PhoneLook and Feel

  8. Visual Studio 2010 Express for Windows PhoneWhich 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 deployment from within Visual Studio 2010 • Direct deployment from inside Visual Studio 2010 • One emulator can host applications from multiple Visual Studio 2010 instances • Performance behavior and user experience will be (slightly) different

  9. Visual Studio 2010 Express for Windows PhoneWhich device to run your applications on? Using a Windows Phone 7 Device • Can be any Windows Phone 7 device • Needs to be unlocked through your Marketplace Developer Account • Allows testing all different application types • Easy deployment from within Visual Studio 2010 • Direct deployment from inside Visual Studio 2010 • Maximum of 10 different directly deployed applications allowed on the phone • Install the Windows Phone Developer Tools October 2010 Update • Allows you to connect to a developer machine without Zune Software running

  10. Visual Studio 2010 Express for Windows PhoneDebugging 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 • Direct Execution of individual methods • Using the Output Window for Trace / Debug information

  11. Developing and Debugging a Windows Phone 7 Application demo

  12. Windows Phone 7 Application AnatomyCollaboration between XAML and 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 • Consider using a design pattern like MVVM • 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. Expression Blend for Windows PhoneThe road to creating 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 7 Emulator for testing

  14. Expression Blend for Windows PhoneLook and Feel

  15. Adding a Cool User Interface to a Windows Phone 7 Application demo

  16. Moving Beyond Visual Studio 2010 ExpressWindows 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 extra 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 • Targeting multiple platforms in multiple programming languages • XNA Studio supports creating project copies

  17. Moving Beyond Visual Studio 2010 ExpressNot all Visual Studio 2010 Tools can be used for WP7 • 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 (default on for debug builds) • EnableRedrawRegions on the device

  18. Using a non-express version of Visual Studio 2010 to develop a Windows Phone 7 Application 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 Applications are First Class Citizens • Your applications are managed code only • Application deployment will be through Marketplace • 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. Win an HTC WP7 device! • Visit the Windows Phone 7 stand in the TLC • Leave your details to enter the draw • Tuesday, Wednesday, Thursday: prize draw at 5.15pm • Friday: prize draw at 1pm. • Winners will be notified by email Four devices to be won. One per day.

  21. Windows Phone 7 Developer Mixer in Berlin! • Wednesday 7pm-9.30pm • Meet the WP7 team • Bring your app to demo • One HTC device to be won • Buffet dinner + hand-brewed beer Limited numbers. Pick up your invitation at the WP7 Stand in the TLC.

  22. Session Evaluations Tell us what you think, and you could win! All evaluations submitted are automatically entered into a daily prize draw*  Sign-in to the Schedule Builder at http://europe.msteched.com/topic/list/ * Details of prize draw rules can be obtained from the Information Desk.

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

More Related