· 1 min read

Casting in VB.NET

OK – VB.NET is on the subject again. As I remember there was two things that led to big arguments and confusions: Casting and arrays. I’ve already blogged about how arrays are handled here. Here is an article that describes how casting is done in VB.NET. It also compares with C# which great for understanding. And here is the points...

Continue reading

· 1 min read

PowerCommands for Visual Studio 2008

I’m back with Visual Studio 2008 after a few months only doing Visual Studio 2010 stuff. And… you miss some stuff. Things get old so fast. Sad. Here’s some nifty tools that get you a bit closer; PowerCommands for Visual Studio 2008. Aah – now it feels a bit better.

Continue reading

· 1 min read

Synchronization for consultants – it works!

I am so proud. My evil scheme to keep my calendar(s) in sync got tested for real today. Got to new customer. Installed Outlook to Google Calendar. Started Outlook. Viola! All my events from my other calendars in place with the ones from my customer. So now they will not book me on days when I have other assignments etc....

Continue reading

· 1 min read

SpecFlow BDD .NET-style

In my previous post, I shared my frustrations with TDD and how to effectively start with it. BDD (Behavior Driven Development) seems to be the answer, but the .NET frameworks available for BDD can be quite perplexing. Many either have unconventional syntax or are built on top of other tools that are hard to work with. SpecFlow appears to be...

Continue reading

· 1 min read

ASP.NET MVC, StructureMap, and … TDD?

I’ve been experimenting with ASP.NET MVC and StructureMap (an IOC container), and the integration has been quite smooth. For guidance on combining StructureMap with ASP.NET MVC, check out Elijah Manor’s blog post. Be cautious of the favicon issue. I’m also using NHibernate and Fluent NHibernate for a cleaner configuration compared to XML. If you need to set specific properties in...

Continue reading

· 1 min read

Visual Studio 2010 web.config transformation

I happened to run into a feature I didn’t know of… Visual Studio 2010 (beta still… soon RC) includes a function for managing different .config-files for different environments. And support for transforming them on build/publish. Here is a MSDN-article that introduces the concept and use it. And here is an article on the subject. Pretty cool since up to now...

Continue reading

· 1 min read

NUnit and the constraint based model

At the Elevate presentation yesterday I learned a lot about C#3/4 by Magnus But as a side-effect I also picked up a nifty syntax for NUnit assertions. It’s called Constraint-based Assertion Model and has been around since NUnit 2.4. Which shows that I am a slow adopter… Sad. OK – what’s the deal with it? It gives you a almost...

Continue reading

· 1 min read

Inbox zero

First, admit that the title alone is very tempting… You want it, you need it… but how to get it? How do you manage the steady flow of mail and requests during a day? How do you stay afloat? That’s what you can learn from picking up on the inbox zero concept. I first learned about this concept at a...

Continue reading