All the blog posts I have written
WSCF.blue V1.0.6 UpdatePublished:2 min read
WSCF.blue has released a V1.0.6 update with fixes for various reported bugs, including the data contract type filter not including all the required types in some complex contracts, adjusting the casing of enumeration members references, and an issue related to XmlChoiceIdentifier attributes. If there are any problems with the update, users should report them through the Issue Tracker.
.NET Reflector V6 ReleasedPublished:1 min read
.NET Reflector V6 has been released by Red Gate, and is available in both a free and paid version. The free version offers support for .NET 4 assemblies and the ability to jump directly from Visual Studio to .NET Reflector. The paid version is an add-in for Visual Studio and provides additional features such as decompiling third-party assemblies and the ability to step through the decompiled code with full debugging capabilities.
More than 1000 downloads for WSCF.blue V1Published:1 min read
The first version of WSCF.blue was released on CodePlex in September 2009 and has since had over 1000 downloads. Christian and Buddhike helped to spread the word with an MSDN article. The team is now back from holidays and looking for feedback from the community on what they would like to see in future versions of WSCF.blue.
Registering open generic types in Autofac 1.4Published:5 min read
This post explains how to extend Autofac 1.4 to register open generic types, with support for both interfaces and classes. It provides an example unit test and the code used to implement the extension method.
ReSharper 5.0 Beta availablePublished:1 min read
JetBrains has released the ReSharper 5.0 Beta, which includes features such as web development, code analysis and project-level refactorings. It is compatible with Visual Studio 2010 and Visual Studio 2008, but there are known issues with Visual Studio 2010 Beta 2.
Is64BitOperatingSystem and Is64BitProcess in .NET 4.0Published:2 min read
The Environment class in .NET 4.0 contains two static properties, Is64BitOperatingSystem and Is64BitProcess, for checking bitness. The code for these properties is quite elegant and simple to follow, taking advantage of the fact that there are two versions of mscorlib.dll assembly: one for x86 and one for x64. It is also possible to check if the process is running under WOW64 (Windows-on-Windows 64-bit).
Registering open generic interface types in AutofacPublished:8 min read
This post covers how to register open generic interface types in Autofac V2, using the new RegisterAssemblyTypes method and an extension method. Nicholas Blumhardt (the creator of Autofac) suggested that this would be easy to implement, and it was done with a few unit tests and implementation code.
Limiting CTE recursion depth in SQL ServerPublished:3 min read
This article provides a few different methods for limiting the recursion depth of Common Table Expressions (CTEs) in SQL Server, such as reaching the default maximum recursion depth, setting the MAXRECURSION query hint, or manually controlling the recursion level.
Would you become a signatory of the SOA Manifesto?Published:1 min read
The SOA Manifesto is a manifesto similar to the Agile Manifesto, sparking debate and discussion. There is a SOA Manifesto Dialog site to voice opinions on it. Those who agree with the benefits of SOA should become signatories of the manifesto.
Free database goodness: LightSpeed Express and SQLitePublished:4 min read
This article talks about the discontinuation of VistaDB Express, a free database engine, and how it can be replaced with other free databases such as SQLite, which is supported by LightSpeed Express, a free ORM. LightSpeed Express has features like LINQ to LightSpeed, an editor for Visual Studio, and the ability to create databases from existing models.