20
Angelo Chan Kamran Bilgrami Leveraging your existing code base for Windows 8

Leveraging your existing code base for Windows 8

  • Upload
    pakuna

  • View
    39

  • Download
    0

Embed Size (px)

DESCRIPTION

Leveraging your existing code base for Windows 8. Angelo Chan Kamran Bilgrami. Agenda. Modern app Modern app vs. desktop app Building blocks - WinRT Components Demo - WinRT metadata files Demo - Projections Rules for creating WinRT Components Q&A. What are modern apps?. - PowerPoint PPT Presentation

Citation preview

Page 1: Leveraging your existing code base for Windows 8

Angelo ChanKamran Bilgrami

Leveraging your existing code base for Windows 8

Page 2: Leveraging your existing code base for Windows 8

Agenda

• Modern app• Modern app vs. desktop app• Building blocks - WinRT Components• Demo - WinRT metadata files• Demo - Projections• Rules for creating WinRT Components• Q&A

Page 3: Leveraging your existing code base for Windows 8

What are modern apps?

Previously known as “Metro style apps”

Focus• Content consumption

– Modern Design Principles• Content before Chrome• Contracts

Runtime• The new Windows Runtime (WinRT)• Program Life Cycle Management (PLM)

Page 4: Leveraging your existing code base for Windows 8

Legacy (Desktop) App

Page 5: Leveraging your existing code base for Windows 8

Modern App

Page 6: Leveraging your existing code base for Windows 8

Why convert your app to a modern app?

• To reach more consumer devices (tablet, Windows Phone 8)

• To publish to Windows Marketplace to reach a wide audience

• To emphasize content in your app

Page 7: Leveraging your existing code base for Windows 8

Modern Apps - PLM

Page 8: Leveraging your existing code base for Windows 8

Modern apps - PLM

Page 9: Leveraging your existing code base for Windows 8

Visual Studio Templates

Page 10: Leveraging your existing code base for Windows 8

Windows Runtime Components

Page 11: Leveraging your existing code base for Windows 8

Windows Runtime - Types

• Primitives • Structs• Arrays• Classes• Interfaces• Enum• String

Page 12: Leveraging your existing code base for Windows 8

WinRT Components - Primitives

Page 13: Leveraging your existing code base for Windows 8

WinRT Components - Collections

Page 14: Leveraging your existing code base for Windows 8

Winmd Files

Page 15: Leveraging your existing code base for Windows 8

Windows 8 Architecture

Page 16: Leveraging your existing code base for Windows 8

Windows Runtime Component - Projections

Page 17: Leveraging your existing code base for Windows 8

Projections

Page 18: Leveraging your existing code base for Windows 8

Authoring WinRT Components

• Playing by the rules

• Rules at various levels– Assembly, Classes, Interfaces, struct, Async

• Compiler is your best friend

• Detailed Rules bit.ly/OWDe2A

Page 19: Leveraging your existing code base for Windows 8