Filtered articles: ".NET"

Filtered articles: ".NET"

Unit Testing Part 4: Testing Private Members

Pretty soon after starting to write unit tests you will find yourself in a situation where you want to access a private or protected member of the class being tested. This can either happen if you need to check a private field or property or if you’re planning on testing a private method.

holger's picture
Unit Testing Part 2: Additional Test Attributes

This is part 2 of my series about unit testing. The first part covered the different assertion methods and can be found here. This part will cover additional test attributes.

Ever stumbled across a unit test that was encapsulated into code like this?

holger's picture
Registry Tricks

Here are some pretty cool ways to work with the Windows registry.

Regedit

Start multiple instances of Regedit by appending the command-line parameter -m, e.g.: regedit -m.

helge's picture
.NET Applications on Windows x64 - Easy? Yes and No
Published by Helge Klein on 03/02/2010 | 1 Comments | 5,213 Views

When migrating to 64-bit Windows, traditional "unmanaged" applications can pose challenges. That is because unmanaged binaries contain hardware-dependent CPU instructions - and the view on the hardware differs between 32- and 64-bit mode. But .NET? It should be unaffected of a system's bitness since "managed" binaries contain instructions in a so-called intermediate language that is executed in a virtual machine at run-time and only then translated to machine language. But is it really? This article is about .NET programs that are dependent on OS bitness.

helge's picture