WPF 4.0 and Windows 7: get more Functionality per Square Inch 03 May 2010 Diederik-Krols .NET 4.0, WPF The Windows 7 taskbar comes with nice features like a thumbnail preview with clickable thumb buttons, a progress bar in the taskbar item, and jump list items and task items in its context menu. Access to the shell integration API from the managed world is done through the System.Windows.Sh... [More]
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]
PRISM in 600 seconds 31 March 2010 Diederik-Krols WPF Welcome to the lean, mean, no Vicodin, U2U Consult PRISM machine. (595 seconds left.) CompositeWPF, or Composite Application Guidance (CAG) including Composite Application Library (CAL) is still commonly referred to as PRISM. The software component -CAL- extends Windows Presentation Foundation (WPF)... [More]
Building a declarative WCF service using Workflow Foundation 4 and Content Based Correlation 29 March 2010 Peter-Himschoot WF 4, VS2010, .NET Development This blog post accompanies my session on Workflow Foundation 4 programming during the Belgian Tech Days (actually developers and IT-pro days :)). During this session I built a WCF service using Workflow Foundation 4, and I want to show you how to do this on your own… In the first part you’ll learn ... [More]
MEF in 300 seconds 28 March 2010 Diederik-Krols .NET 4.0 The Managed Extensibility Framework (MEF) is the .NET framework for building applications that are extensible with external plugins after being deployed. I already hear you thinking: "D'oh! Not yet another Reflection slash Inversion of Control slash Composition framework ?" And yes, that's what it i... [More]