WPF creates a whole new range of possibilities, but you can often run into trouble when trying to combine it with NHibernate. NHibernate can’t handle ObservableCollections*, which is a quite handy feature of WPF. Furthermore, what to do with the good databinding capabilities of WPF?Shawn Duggan provides a nice solution using the **Model-View-ViewModel **pattern here. […]
There’s lots of information out there on how to create a virtual directory in IIS with adsutil.vbs. But when you need an application, like for an ASP.NET website, you need one more step which I had some trouble finding. Adsutil.vbs is a script to manage IIS from the commandline. If you’re using IIS6 you can […]
Ok, not everyone does, but you have to admit it’s a trend in the software development world and a good one for that. But if you’re already developing in an agile manner or plan to, take 5 minutes to stop reading about scrum, TDD, XP and other Agile methods and check out the basics. In […]
Looking for good icons for your applications, that blend in well with other typical Windows applications? If you have Visual Studio, then you already have 1000+ icons without having to Google for ‘free icons’ and coming up with loads of unusable previews.Navigate to your Visual Studio install directory and in \Common7\VS2008ImageLibrary you’ll find a zip […]
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 […]
I haven’t had a lot of time recently, so just a link to an interesting article about turnover in the IT business.
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 […]
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 […]
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, […]