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

Using Windows Runtime Components

Using our WinRT component is quite straightforward, simply by adding a cross-project reference to our solution. For example, when we want to build our Windows Store application’s user interface using JavaScript and HTML5, but using managed code for the business logic and data access layers, we can use a WinRT component to bridge the two worlds. This is shown in Figure 32.23.

Image

FIGURE 32.23 Referencing our WinRT component project.

Once we add a cross-project reference, the IntelliSense in the JavaScript project lights up and knows about our public types and their members, as shown in Figure 32.24. This great developer ...

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