Windows 8 and the future of XAML: Part 4: Contracts in WinRT/Windows 8

added by KMillerr
4/11/2012 8:49:26 AM

5 Kicks, 273 Views

In the previous article of this series, Gill Cleeren wrote the first lines of code for WinRT. The main message was that although WinRT is a new API, we can still use our familiar languages to create Metro style applications. We have used the XAML/C# combination, but it’s perfectly possible to use XAML/VB or XAML/C++ as well. We’ll be using more of the API in the coming articles but in this article, we’ll focus on some specifics around contracts, more specifically, the Search contract. Contracts enable Metro applications to communicate with each other or with Windows itself without there being a hard reference in place.