Fridathon: unstructured learning or hacking you can opt-in to do on any random Friday.
  • Reactive Framework Extensions Generator

    You probably know already that the Reactive Framework Extensions (Rx) is a new library on top of .NET 4.0 and Silverlight that allows developers to leverage the expressiveness and power of LINQ for .NET events. It brings an entirely new paradigm for doing event-driven apps, and therefore shines in WPF/Silverlight scenarios. [Read More]
  • 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 difficult to traverse and find later on. Essentially, since every test is doing the first “A” in AAA (Arrange-Act-Assert) too, that means the context is also part of the test method. [Read More]
  • Are you smart enough to do without TDD

    Ayende wrote a controversial post titled I’m so smart I don’t need TDD Even tests has got to justify themselves ;-). It’s important to read it, because it reinforces many of the reasons why “regular developers” (i.e. NOT you if you’re even reading blogs as you are) continue to see “us” as some kind of unreachable and infallible elite of “hero programmers” who will eventually show up (i.e. be hired for big bucks, which we surely do want :)) and save the day. [Read More]
  • 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. [Read More]
  • 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 fun anyway, and the name is definitely cool IMO :). [Read More]
  • 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 and reboot again. Now you should get the new network adapter detected. Use ICS on the wi-fi network and select the local network Hyper-V as the one to share the connection with. To allow VPN access, you need to open a port (GRE) in the windows firewall as explained in http://help.wugnet.com/vista/VPN-server-configured-Generic-Routing-Encapsulatio-ftopict116489.html [Read More]