Posted by: globbe on: January 12, 2009
Here’s a little gem.
Most people like to keep their unit test assemblies and code separate from the code being tested (maintainability is such a nice thing). This however raises the issue of how to write tests for methods and classes that are marked internal.
Lots of different approaches exist, such as editing the *.csproj file by [...]
Posted by: globbe on: May 23, 2008
This article will introduce the Conditional Attribute and give an example of its usage. The technical level is kept low to make the text as accessible as possible. More info can be found in the official C# Programming guide, in particular the section called ‘Conditional’.
When it comes to debugging, the world (of IDEs) is full [...]
Posted by: globbe on: March 6, 2008
There’s something nice about walking through the great check in hall at the Venetian Hotel in Las Vegas, stepping up to the Invited Guests desk, showing your passport and here the person on the other side saying ‘Welcome back, Mr. J’. We’ve been expecting you.
Not that I’m such a regular visitor to neither Vegas nor [...]
Posted by: globbe on: February 21, 2008
I’m in the news, sort of ;)
http://itpro.nikkeibp.co.jp/as/ms_vs2008/index.shtml
Posted by: globbe on: February 4, 2008
A lot of people have asked me to provide a sample where an XBAP communicates with a WebService. Unfortunately I can never seem to find the time to write one up, so I was very happy to stumble upon this (apparently unofficial) sample provided by a person who claims to be MS. I cannot confirm [...]
Posted by: globbe on: December 18, 2007
I just wanted to point out that this months issue of MSDN Magazine features a very nice and accessible article on writing reliable .net code. Especially on how to deal with asynchronous exceptions that arise from thread aborts and resource exhaustion. The article shows some available techniques and also points out some [...]
Recent Comments