Globalizing and Localizing a WPF application 29 April 2010 Diederik-Krols WPF This article describes how to localize a WPF application using the WPF Localization Extension project from Codeplex. On one hand, this is a fine tool. On the other hand, it's a crying shame that WPF developers need to rely on external sources for something as basic as localization. As you know, loca... [More]
Apple wants to own you (especially when you’re a developer …) 15 April 2010 Peter-Himschoot Great read: http://www.slate.com/id/2250993/ If Microsoft ever wanted to do something like this … what would happen do you think? How is it Apple can?
Pex and Code Contracts 10 April 2010 Peter-Himschoot VS2010, .NET Development I’m currently experimenting with Pex, Moles and Code Contracts, and I wondered what effect code contracts have on Pex tests. So I build this simple piece of code: 1: public class Demo 2: { 3: public int Foo(int a, int b) 4: { ... [More]
Overloading & Co/Contra-variance could break your code! 08 April 2010 Peter-Himschoot .NET Development, VS2010 Co and contra-variance were introduced to VB.NET and C# to make working with certain classes more natural (“because it should work”). But beware, I was experimenting a bit with this and found following possible breaking change. I started with these two classes: C# 1: public class Person... [More]
WCF Data Services 4.0 in less than 5 minutes 08 April 2010 Diederik-Krols .NET 4.0, WPF, Entity Framework 4.0 WCF Data Services 4.0 (formerly known as ADO.NET Data Services, formerly known as Astoria) is one of the ways to expose an Entity Data Model from Entity Framework 4.0 in a RESTful / OData way. This article explains how to create such a data service and how to consume it with a browser and with a WPF... [More]