· 1 min read

Swedish Brass Band Championships 2008

OK - it’s so late for this. They have probably started soon. But here is my predictions for the Swedish Brass Band championships: The winner is almost obvious - Windcorp Brass band is the best band in Sweden now and for a long time ahead. They play so well and have loads of experience to go with it. They will...

Continue reading

· 1 min read

Aspects and Policy Injection - Clean Up Your Code

The other thing that really impressed me this week was the use of policy injection and aspect-oriented programming in our code. I mean, you write aspects (or policies) for things like logging, performance counters, caching, and error handling, and move all that stuff into configurable policies. What is left in your code? Pure and beautiful business code (or at least...

Continue reading

· 1 min read

Blogging in two places - Avega Group Blog

Avega is starting up a corporate blog and have asked me to post some posts there. Sounds great so I have just posted in some items from www.marcusoft.net to my “Avega”-alias. http://blog.avegagroup.se will not be live in a few weeks though, so keep cool until you can read me in … stereo. ;) A few interesting questions arose: How will...

Continue reading

· 1 min read

Missing references showing nicely with ReSharper

I found a feature that I thought was a bug in Visual Studio… If you have ReSharper (4.0 in my case) installed, it shows your missing references directly in the .config file. Of course, there are limitations to this—secondary references cannot be resolved, but it is still a great help. Unfortunately, it confused me for a while, thinking it was...

Continue reading

· 1 min read

Regular Expression for Even Number

Let me first be very clear - I’m not a RegExp-guy. I find them quite hard to understand at times and often take refuge in .NET code. Also, I was very surprised to not find any hits for the search of “RegExp even numbers” - I thought that I would find numerous examples. But after reading a bit here, I...

Continue reading

· 1 min read

The right way of calling MSTest in a TFS build script

OK - sometimes it just to confess - I took a chance, or didn’t know what I was doing - call it what you want. In TFS Build-scripts there are a much nicer way of calling MSTest than the Exec-task as I suggested. There is already a task for it, called TestToolsTask. With this task you can much easier reach...

Continue reading

· 1 min read

Marcus - now in full color video...

I had a quite strange experience today. I did a presentation about unit testing for another project. Nothing strange there. But the thing was recorded (via LiveMeeting, worked great after some initial confusing surrounding the mic) and then put out on the developer portal of my customer. So later on I heard my lame jokes echoing through out the nearby...

Continue reading