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 use other scripts like iisvdir.vbs and iisweb.vbs. But for IIS5, these aren’t available, so you have to use adsutil.vbs instead. Here’s the three commands necessary:

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 other words, read the Agile Manifesto, and see why we’re doing agile software development. Also, be sure to read the twelve principles behind the manifesto.

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 file VS2008ImageLibrary.zip. Extract that and you’ve got a whole set of icons you can use in your application. In each folder there’s a read-me with

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