Browse by Tags

The myth that TDD or test-first slows you down is true
I'm sad to say it, but it is true. It slows you down. But not everytime, and not for everything. So let's be more specific on the cases where it DOES slow you down noticeably: Cowboy or Duct Tape Programming Mode : If you code all day like crazy in a...
Writing meaningful, self-documenting, behavior-oriented tests
Over the years I've come to realize that the one-fixture-per-class approach to unit testing just doesn't scale. As the amount of variations in state and interactions increases, that file starts becoming a big soup of "Should" methods that are increasingly...
How to always open the vsixmanifest in XML view
The new VSIX projects contain a manifest that is by default opened with a designer. No matter how many times you specify that you want to open it with the XML editor by default, VS will continue to open it with the designer. The only way to force the...
Linq to Mocks is finally born
Last time I announced Linq to Mocks, some said Moq didn't actually have anything to do with Linq. Despite the heavy usage of lambda expressions and expression trees, the "q" in Linq is for "query" after all. And they were right, of course, but it was...
Improved type safety when dealing with generic types, generic methods and reflection
Compile-time safety is always important, as it reduces the chances that a refactoring can break existing code that compiles successfully. This benefit took me previously to the path of using expression trees to achieve strong-typed reflection. There is...
Extensible Test Assertions With MSTest VSTS
If you have used more than one unit test framework (i.e. xUnit.NET , NUnit , MSTest/VSTS, etc.), chances are that you’ll miss features from one when using another. In particular, MSTest/VSTS is lagging behind the crowd as it’s stuck in an NUnit circa...
Why Embedded Silverlight Makes Sense
So Microsoft just shipped Silverlight 3.0 . Outstanding achievement in its own right for a company that takes multi-year cycles for pretty much every product, if you ask me. Silverlight is indeed a very cool technology. With the latest additions and especially...
How to get wi-fi network connectivity using Hyper-V
Create a new Local Network with Virtual Network Manager (name it Hyper-V, for example) In the VHD, run msconfig.exe, in the Boot tab, click the Advanced options button, and select the Detect HAL option. Reboot the VM, reinstall the integration services...
Live Mesh as an application platform
The potential You surely read quite a bit about Live Mesh. Oran Dennison has number of very technical and insightful posts on various aspects of the underlying platform. Recently, we run an internal prototype to  build an application on top of...
MAB ContainerModel / Funq: a transparent container
From the point of view of the user of the container, he doesn't have to do anything at all. He just creates classes as usual: public class EditCustomersPresenter { public EditCustomersPresenter(IEditCustomersView view, ICustomerRepository repository)...
More Posts Next page »

Search

Go

This Blog

News

     

      Microsoft MVP Profile

Syndication