Chris AlexanderChris Alexander
Tag Archives: C#
Friday, January 27th, 2012

Today I was playing with the robot and was thinking about a few possible ways of solving a particular problem I was having so that the internal API is nice for developers to attach to. I wondered if a method from a base class could be used as an implementation of an interface, even though [...]

Read More...

Thursday, January 5th, 2012

MEF is a great framework for doing all kinds of cool things in .NET. However one thing that gets me quite often is that fields in classes that are composed by MEF using the [Import] label often generate warnings like the following: Field ‘field name’ is never assigned to, and will always have its default [...]

Read More...

Tuesday, November 15th, 2011

For the robot project I am using a MotorHawk board, which essentially provides motor control over USB. Unfortunately the code that comes with it isn’t that great. I knew it was Windows only from the start, but when I had a closer look, it comes with a DLL, and sample applications in managed VB and [...]

Read More...

Thursday, December 30th, 2010

The videos from PDC, Microsoft’s Professional Developers Conference back in October are now online. One of the most interesting videos is Anders Hejlsberg, a technical fellow at the developer devision in Microsoft, talking about asynchronous programming and how it will be integrated with the new versions of C# and VB coming out soon. The team [...]

Read More...

Friday, September 3rd, 2010

I spent a while this morning becoming somewhat baffled at the apparent lack of simple-to-use Timing features in .NET 4 in Silverlight. All I wanted was a simple solution to call a certain method inside the current scope and thread ever few seconds. However, many of the timing solutions are designed to work in a [...]

Read More...