I’m a fan of the MVP design pattern, so databinding isn’t something I would use very often, but I have found a use for it in WPF. It is very easy to databind one Control to the other. This gives us some interesting possibilities. For a standard example, check out this screencast. What I want to show here is how you can extend this with ValueConverters. In a project of mine, I needed to show a control depending on the

Want intellisense for NHibernate in Visual Studio 2008? It’s easy, just download the NHibernate source here, and extract it somewhere. Go to the src/NHibernate folder and copy the following files: nhibernate-configuration.xsd nhibernate-mapping.xsd nhibernate-generic.xsdPaste these files in the Xml/Schemas folder of your VS2008 installation folder. Usually this will be C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas.

Microsoft has a history and/or image of being a competition-crushing behemoth, with a not-so-open attitude. And I mean open in a general way: they’re not into open source or open standards, giving away stuff for free, contributing to the community, etc.Yet one might think they’re opening up lately. The deal with Novell was controversial to say the least, but it showed they’ve at least started noticing Linux. The Express Editions of their development tools were an attempt to bind more

I was looking for a way to export a gridview of an asp.net site to an Excel-file (.xls). Most methods I found involved overriding a Page-method and/or disabling validation of the controls. The solution provided by Matt Berseth is safer and more elegant in that it uses a seperate class with a shared method (static for C# people). This way, you can access it from multiple pages without having to rewrite the code multiple times.

Is there a good and complete class library for contact management around? I’ve looked around on the internet but can’t seem to find one. One of the first ‘real’ programs I had to write during my education was a .NET application to manage contacts, an addressbook. Add, edit and remove people, with addresses, phone numbers, etc. These people could belong to a company which also had an address, and so on. It was fairly simple.I’m on to a bigger project

Well, not all of it, but Microsoft has made it possible to enter the .NET Framework code when debugging. Although configuring Visual Studio to do this is a little more work than what you need to do with, say, Java and Eclipse (which is: none), I believe it is still quite a useful feature. It allows developers to go into the code of the .NET Framework and see what’s happening with the objects that are passed on.I have yet to

Following my previous post on UML, I’d like to point out a tool I like very much. It’s only for sequence diagrams but I find it does the job very good, and real quick too. Also, it’s far less of a pain than Microsoft Visio when changes have to be made. The name is Tracemodeler and can be found on tracemodeler.com. The advantages are plenty. For the record, I did not code this tool, so I’m not trying to sell

Okay, here goes my first real post. Every developer must have at least a basic understanding of UML. In my opinion, it can be a very powerful tool for explaining the architecture of applications (even to yourself after not having worked in the code for a while). It’s much more easy to follow a neat diagram, than to have to dig through the code and go from method to method, switching between classes and trying to remember where in the