AboutThis blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.
Most used tags
Tag Archives: .NET 4.0
Many systems are not optimized or sub-optimized by tweaking the wrong features. This post describes the use of the Visual Studio 2012 profiler to get insight in what to optimize and monitor the result of these optimizations. For this post … Continue reading
When you use custom controls in your silverlight application, you should implement custom AutomationPeer classes. These AutomationPeer classes will be used in your unittests. Below some different flavours I use in my project. Inherited, when you inherit from a control … Continue reading
Reading up on silverlight unittesting from Justin Angel’s post. I ran into some startup problems like not iheriting from SilverlightTest in my test class (took me two hours ;)) and adding the right assemblies to our project. But the biggest … Continue reading
In WPF the PasswordBox control doesn’t expose any property to bind it. You’ll need solutions as described here to get the password the ‘WPF way’. Getting it to validate is a different story. Whenever a user is created you want … Continue reading
Declarative refactoring C#Chris showed the ?? operator that is the ? operator that tests if a nullable type is null and provides a default. He also showed the Tuple.Create and the dynamic type to remove out parameters, Yield return can … Continue reading