Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Mark Seemann's discontinued .NET blog.
Mocking Generic Methods With NMock2
Recently I was asked how to mock a generic method, now that NMock2 supports generics. Here's how:...
Author: ploeh Date: 10/29/2006
Generating NotImplementedException Instead Of Exception
Ever since I started using Visual Studio 2005, I've been enjoying its refactoring features, but it...
Author: ploeh Date: 10/26/2006
Console Unit Testing
In many scenarios, console applications are very useful, but if you have a console application of...
Author: ploeh Date: 10/21/2006
Speaking at .NET Days 2006
The week after speaking at TechEd, I'll be giving a talk at .NET Days 2006 in Århus. In this talk,...
Author: ploeh Date: 10/06/2006
Bugs On Purpose
The Ative guys has a blog with a lot of insightful development project gotchas. This one, in...
Author: ploeh Date: 09/29/2006
Test-Driven Development With Test Lists
For most of the time, I write code using the test-driven development methodology. This means that I...
Author: ploeh Date: 09/18/2006
Test Types
The recent discussion spawned by my former post has prompted me to write this entry about test...
Author: ploeh Date: 08/27/2006
Volatile Dependencies
Unit testing is all about testing your code in isolation from its dependencies. Why is it important...
Author: ploeh Date: 08/24/2006
Speaking At TechEd, Barcelona
TechEd Developers 2006 is in Barcelona in November, and I have had the honor of being invited to...
Author: ploeh Date: 08/17/2006
How To Dispose Members From Forms
When you create a new Form (or UserControl for that matter), Visual Studio creates it as a partial...
Author: ploeh Date: 08/10/2006
Debugging When Property Reads Have Side Effects
The last couple of days, I've been working with some code where there was a side effect when a...
Author: ploeh Date: 08/03/2006
IComparable Implies Transitivity
Lately, I've been doing comparisons of DateTimes and TimeSpans, and I've been sorely missing...
Author: ploeh Date: 07/31/2006
Cleaning Away The TestResults Folder
When I write code, I usually use the test-driven development approach, which means that I execute a...
Author: ploeh Date: 07/13/2006
Extra-Sensory Perception?
My colleague Michel Baladi has just declared himself not an architect, and I must admit I have the...
Author: ploeh Date: 07/06/2006
Filtering Properties From Methods With Reflection
Last weekend, as I was polishing off Service Locator 2, I was reminded how Reflection returns...
Author: ploeh Date: 07/06/2006
Compiler Warnings, XML Comments, And Code Analysis
In Visual Studio, missing XML comments and code analysis violations generate compiler warnings. In...
Author: ploeh Date: 06/18/2006
Application Block MSDN Article
My new MSDN Magazine article Patterns & Practices: Speed Development With Custom Application...
Author: ploeh Date: 06/10/2006
Unit Testing A CAB Controller
In my previous post I demonstrated how to create an application based on the Composite UI...
Author: ploeh Date: 05/05/2006
Cutting CAB The Other Way
The Composite UI Application Block (CAB) is a pretty nice piece of technology that allows you to...
Author: ploeh Date: 05/04/2006
Unit Test Your Enterprise Library Logging Logic
Most enterprise applications need to perform logging in some form or other, and the Enterprise...
Author: ploeh Date: 04/05/2006
A Faster TestTypeResolutionService
In February, I wrote about unit testing CodeDomSerializers, but although it was a good initial...
Author: ploeh Date: 03/27/2006
astype Code Snippet
So, a couple of days ago I discovered just how easy it is to create code snippets for Visual Studio...
Author: ploeh Date: 03/19/2006
onevent Code Snippet
When raising events, the .NET framework design guidelines recommend that this is done from a...
Author: ploeh Date: 03/17/2006
Coding Styles
From time to time, people ask me about coding styles; if they have seen some of my code, many are...
Author: ploeh Date: 03/08/2006
Michel Baladi Has a Blog
My former Microsoft Consulting collegue Michel Baladi now has a blog at...
Author: ploeh Date: 03/06/2006
Speaking in March
If you're in the Copenhagen or Århus area in the beginning of March, you may have the opportunity of...
Author: ploeh Date: 02/19/2006
Serializing Read-Only Collections to Code
In some cases, a Component or Control may have the need to contain a read-only collection of complex...
Author: ploeh Date: 02/18/2006
Towards Unit Testing Component Serializers
When writing complex components or controls, it is sometimes necessary to implement custom CodeDOM...
Author: ploeh Date: 02/16/2006
Unit Testing Control Designers
One of the inherent problems of control development is that it doesn't lend itself easily to unit...
Author: ploeh Date: 02/06/2006
Enterprise Library and the Future of Service Locator
Enterprise Library for .NET 2.0 has finally been released! This new release contains a lot of...
Author: ploeh Date: 01/22/2006
Testing Events Using Anonymous Methods
If you are unit testing a class which may raise an event, it will be appropriate to test that the...
Author: ploeh Date: 01/19/2006
Service Locator 1.1 Available
A new version of the Service Locator Enterprise Application Block is now available. At version 1.1,...
Author: ploeh Date: 01/05/2006