.NET Zone is brought to you in partnership with:

Jeremy Likness was named Silverlight MVP of the Year in 2010. Now Senior Consultant and Technical Project Manager for Wintellect, LLC, he has spent the past decade building highly scalable web-based commercial solutions using the Microsoft technology stack. He has fifteen years of experience developing enterprise applications in vertical markets including insurance, health/wellness, supply chain management, and mobility. He is the creator of the popular MVVM framework Jounce and an open source Silverlight Isolated Storage Database System called Sterling. Likness speaks and blogs frequently on Silverlight, MEF, Prism, Team Foundation Server, and related Microsoft technologies. Jeremy is a DZone MVB and is not an employee of DZone and has posted 70 posts at DZone. You can read more from them at their website. View Full User Profile

Windows Runtime Components in a .NET World

10.10.2012
| 2477 views |
  • submit to reddit

The new type of program known as a Windows Store app—optimized to run on Windows 8 devices—has a default view with a full-screen window and no distracting chrome, so the content is the focal point. Windows Store apps support fluid layouts that adapt and scale to a variety of screen sizes and resolutions. They provide a touch-first experience while providing full support for the traditional keyboard and mouse.

MSDN recently released a special Windows 8 issue that covers Windows Store apps. It includes an article I contributed about creating managed Windows Runtime (WinRT) components that can be consumed by Windows Store apps written using any of the available language options, including C++ and HTML/JavaScript. Learn about the requirements needed to create a Windows Runtime Component in C#, how to reference and use it, and how it impacts other language selections when developing Windows Store apps.

The article includes a full example for creating a special component that generates thumbnails and is consumed by C#, C++, and a HTML/JavaScript application as well. The team at Microsoft also provided a VB version.

Read the full article online at Windows Runtime Components in a .NET World.

Published at DZone with permission of Jeremy Likness, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)