Main contents

.NET Category Archive

How to Save XAML as an Image

2 September 2008

Here’s a quick note to self that you may enjoy. I suck at art. Didn’t use to always, but it requires too much brain power. But I’m not bad at getting WPF to draw what I want. I had a logo in mind for this site and used WPF to generate it after unsuccessfully getting [...] Read more »

Posted in .NET, Note to self... | No Comments »

The Missing .NET #7: Displaying Enums in WPF

2 September 2008

Enums are here to stay and we have to deal with them in various ways; displaying them to the user is one way they have to be dealt with. I’ll give a treatment of how to display an enum in WPF in this post. You’ll see that displaying them in all situations is non-trivial. Read more »

Posted in .NET, Missing .NET | 1 Comment »

Unable to set TestContext property for my class (.NET Compact Framework)

12 August 2008

Suppose you’re using Visual Studio 2008 and you’ve just found out that Microsoft added unit test support for the Compact Framework on devices and emulators. Neat-o!
So you add one to your project thinking, this’ll be fantastic.
Then it doesn’t work.
You get the following cryptic error:
Unable to set TestContext property for the class {class}. Error:  System.ArgumentException: Object [...] Read more »

Posted in .NET | No Comments »

The WPF Application Class: Overview and Gotcha

1 August 2008

I’ve written often lately about WPF, including BabySmash posts and Missing .NET articles. I’ve decided to do a complete app using WPF. I’ve dabbled here and there with the concepts, but I’ve decided I don’t really know the framework that well. I still have to look up how to do something basic like master-detail data [...] Read more »

Posted in .NET | 1 Comment »

Exporting Blog Posts from Subtext in BlogML

16 July 2008

I’ve recently been asked for more detail on how I extracted my blog posts from Subtext. I hacked my solution together in a few nights of hacking. Once I got it working, I completely flushed all memory of what I did. But I was asked a whole two times, dear readers! With that overwhelming curiosity, [...] Read more »

Posted in .NET | No Comments »