Musings about software development, agile methodologies, random thoughts, etc.
Sunday, July 29, 2007 - Test Drive with IronRuby and System.Windows.Forms
Per Scott Guthrie’s blog I was inspired to take a look at IronRuby. Even though it is in pre-alpha, I could not resist given the appeal of Ruby with the rich libraries available in the .Net framework.

After building the IronRuby solution, I took the rbx.exe, along with the related assemblies, and dropped them into a new folder. Here is a look at the folder content.




I then created a file named example.ir.




Next, I ran the IronRuby exe with the new file.




This resulted in the window below.




After clicking the Click Me button:




On a side note, the shot above of the example.ir file is from Notepad2. The syntax highlighting, even with an .ir extension, is from changing the custom scheme in Notepad2. Look at a previous post to see how to change the schemes for syntax highlighting. If you want a build of Notepad2 with Ruby syntax highlighting, go to Scott Hanselman's blog for the build and source code.
posted by Mark McFadden @ 9:01 PM   0 comments
0 Comments:
<< Home
 

My Photo
Name: Mark McFadden
Location: Erlanger, Kentucky

I am a software developer that lives in Northern Kentucky with my wonderful wife and two sons.


This work is licensed under a Creative Commons Attribution 3.0 United States License. Creative Commons License

Site Feed

Digg this...please

Previous Posts

Archives
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online