For Developers: IronRuby on Windows Phone 7

Reading time icon 2 min. read

Readers help support MSPoweruser. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help MSPoweruser effortlessly and without spending any money. Read more


Silverlight 2 introduced a new and important feature, support for DLR languages. As a result, developers can use IronRuby with Silverlight applications, from incorporating it in the application to writing entire Silverlight applications with it.

Microsoft has announced their support for IronRuby in Windows phone 7 in MSDN Magazine. Since Silverlight is running on Windows Phone 7, developers can take advantage of DLR language IronRuby and start writing Applications for it.

There are however some limitations, as mentioned in the blog.

However, there are some limitations you should be aware of. Windows Phone 7 comes with the .NET Compact Framework, which is a subset of the .NET Framework. The Compact Framework is designed for mobile and embedded applications and contains approximately 30 percent of the full .NET Framework. Consequently, numerous classes are missing, and this affects how IronRuby works.

For those who don’t know what is IronRuby, here is a small explanation.

What Is IronRuby?

In 2006, Microsoft announced the development of IronRuby. It took more than three years to develop, and in April the IronRuby team announced the first stable version of IronRuby: version 1.0.

IronRuby supports the entire feature set of the Ruby language with a unique addition: integration between Ruby code and .NET Framework code. This integration is fairly seamless and requires little more than loading a .NET Framework assembly to the Ruby context

Key Features of IronRuby:

Ruby is a dynamic language and so is IronRuby. This means there’s no compiler at hand, and most of the operations done during compilation and build time in static languages are done during run time. This behavior provides a variety of features that are difficult or impossible to achieve in most current static languages.

Read more at Microsoft here.

More about the topics: Developer tools, iron ruby, windows phone 7