1 / 28

Share code on Windows Phone 8 and Windows 8

Share code on Windows Phone 8 and Windows 8. Andrew Byrne, Senior P rogramming Writer, Windows Phone Doug Rothaus, Senior Programming Writer, Windows 3-043 How to Leverage your C ode across Windows Phone 8 and Windows 8. Agenda. O pportunity Developer choice Sharing strategies

nikita
Download Presentation

Share code on Windows Phone 8 and Windows 8

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. Share code on Windows Phone 8 and Windows 8 • Andrew Byrne, Senior Programming Writer, Windows Phone • Doug Rothaus, Senior Programming Writer, Windows • 3-043 How to Leverage your Code across Windows Phone 8 and Windows 8

  2. Agenda • Opportunity • Developer choice • Sharing strategies • Demos (code)

  3. Reach: Over 400 Million Customers • 191 Markets Worldwide

  4. Compelling apps More connected, more personal Personal & Familiar Alive & Up-to-date Connected Work & Play

  5. We are on the path to Windows and Windows Phone Convergence

  6. Windows Phone API Windows Phone 8 Windows Phone 7.x Windows Phone Runtime Direct3D, XAudio2, MF, WASAPI, WIN32, COM .NET C++ C#, VB C#, VB, C++

  7. Your appsYour way

  8. Demo • PixPresenter

  9. Strategies for sharing in a XAML app Separate UI from app logic (Model-View-ViewModel) Share portable .NET code in Portable Class Library Use common Windows Runtime API (Add as Link) Language interop using Windows Runtime Components

  10. Separate UI from app logic User Interface App Logic Model-View-ViewModel (MVVM) General

  11. Separate UI from app logic Windows Phone app Windows Store app

  12. One Source One Project One Binary Multiple Platforms! Portable Class Libraries

  13. Portable Class Library and MVVM

  14. What’s portable in PixPresenter? Platform-specific Portable /shareable Platform-specific Windows Phone app Windows Store app

  15. MVVM and Portable Class Library

  16. Invoking non-portable code

  17. Handling non-portable code

  18. Use common Windows Runtime API

  19. Investment in Windows Runtime API Networking Proximity In-App Purchase Sensors Location File System Core app model Threading

  20. Windows Runtime Component

  21. Great for language interoperability Great for wrapping computationally intensive operations Great for consuming 3rd party libraries Reuse native code in XAML app

  22. Share code – architect with sharing in mind Maximize the user experience in the UI Use existing skills and knowledge Lessons Learned

  23. Strategies for Sharing in a XAML app Separate UI from app logic (Model-View-ViewModel) Share portable .NET code in Portable Class Library Use common Windows Runtime API (Add as Link) Language interop using Windows Runtime Components

  24. Windows Phone 8 docs Windows 8 docs Samples dev.windowsphone.com dev.windows.com code.msdn.com ` Resources Windows Phone 8 and Windows 8 app development on MSDN http://aka.ms/ShareCode

  25. In summary Huge opportunity Platforms are converging The time is right. Start building!

  26. Q & A http://aka.ms/ShareCode

More Related