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: http://blogs.msdn.com/csharpfaq/archive/2010/05/10/new-ide-features-in-visual-studio-2010-for-c-developers.aspx 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

1

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: http://events.boostweb20.com/Events/SeattleCodeCamp2010/ The deep link to my talk recording is here: http://events.boostweb20.com/Events/SeattleCodeCamp2010/default.aspx#state=sessionCode%242011-6 The talk is about an hour long, I briefly demo the application (http://livegeometry.com) and then walk the audience through…

0

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 (http://livegeometry.codeplex.com) is an open-source Silverlight application that lets you create interactive ruler-and-compass…

2

LiveGeometry @ Coding4Fun

Check out this article I wrote for Coding4Fun: http://blogs.msdn.com/coding4fun/archive/2010/03/01/9971021.aspx Hope you like it!

0

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…

3

Irony

(Ironically, this post is not about irony in it’s traditional sense) Irony (http://irony.codeplex.com) 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…

7

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…

10

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…

2

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…

28

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…

14