O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing Windows Runtime Components

Writing a WinRT component is quite straightforward, starting from built-in project templates in Visual Studio. Figure 32.14 shows the project template under the Windows Store section in the New Project dialog.

Image

FIGURE 32.14 Creating a Windows Runtime Component project.

Both the WinRT component and Class Library projects produce a library that you can reuse. The difference between both project types is the reach of the resulting library. In particular, a regular class library can be used within a managed code Windows Store application, while a component allows for usage from other WinRT languages such as JavaScript. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required