New IDE Features in Visual Studio 2010 for C# Developers

Check out this great overview about the new C# IDE features in Visual Studio 2010: Before you go there, a little pop quiz to check if you already know and use these shortcuts. What do they do? Ctrl+, Ctrl+. Ctrl+Alt+Space Ctrl+Shift+Up/Ctrl+Shift+Down Ctrl+K,T


Recording of my “Inside Live Geometry” talk now available

Boost Virtual Events and Tri-Digital have recorded the talk that I gave during Seattle CodeCamp 2010. Check out their interactive site built fully with Silverlight: The deep link to my talk recording is here: The talk is about an hour long, I briefly demo the application ( and then walk the audience through…

I’m speaking at Seattle CodeCamp 2010 on Saturday, April 17

Seattle CodeCamp 2010 will be held the weekend of April 17-18 at the Microsoft Campus in Redmond WA (“The Commons”). On Saturday, April 17 at 4pm I’ll be giving a talk titled “Inside LiveGeometry – architecture of a Silverlight application”. Abstract: Live Geometry ( is an open-source Silverlight application that lets you create interactive ruler-and-compass…


LiveGeometry @ Coding4Fun

Check out this article I wrote for Coding4Fun: Hope you like it!

Bezier Curves and Car Manufacturers

Michael has asked me if it was possible to add Bezier curves to Live Geometry. So I went ahead and added a Bezier tool (and it took me about 30 minutes to do so!): This draws a cubic Bezier curve using four points: There is something beautiful and elegant about these curves. No wonder industrial…



(Ironically, this post is not about irony in it’s traditional sense) Irony ( is an open-source .NET compiler construction framework written by Roman Ivantsov. It is a “.NET Language Implementation Toolkit”. The language grammar is described in C# (or any other .NET language). So instead of generating the scanner and the parser from a grammar…


Saving images (.bmp, .png, etc) in WPF/Silverlight

I’ve recently added a new feature to Live Geometry that allows users to save the current drawing as a bitmap or a .png file. Just push the save button and pick the desired image format in the Save dialog: Fortunately, both WPF and Silverlight support saving full visual contents of any visual into a file…


UI without code or XAML: PropertyGrid, DataForm, etc.

WPF has certainly advanced the state-of-the-art in programming the UI. I personally think that WPF and Silverlight remove all the limits that existed to UI development in the past. The only limit now is your imagination. XAML is there for declarative machine-friendly UI descriptions, data-binding is for easier logic of syncing the UI to the…


5 min. screencast: Live Geometry overview

Microsoft sponsored a usability study for my side project Live Geometry, and I have to say, it was awesome. It was a lot of fun watching the participants using the software and I got a ton of great and useful feedback. I have to confess, I didn’t realize that it’s not obvious how to use…


Algorithms in C#: shortest path around a polygon (polyline routing)

Suppose you have to build a road to connect two cities on different sides of a lake. How would you plan the road to make it as short as possible? To simplify the problem statement, a lake is sufficiently well modeled by a polygon, and the cities are just two points. The polygon does not…