All the blog posts I have written
Self-Hosting WCF Services with the Autofac WCF IntegrationPublished:2 min read
This post provides a demonstration of how to use Autofac's WCF Integration to self-host a web service with a dependency that is injected through the WCF extensibility points. An example and instructions on how to create a client proxy are provided.
WSCF.blue RoadmapPublished:3 min read
The WSCF.blue team has been discussing the features to include in the next release and a roadmap has been summarized on Santosh Benjamin's blog. Some of the key features discussed include the ability to persist settings, support for WS-Addressing, Fault Contracts and T4 templates. Microsoft's Feature Builder is being considered as the primary user experience. Feedback is welcome.
Refactor to the NUnit Fluent API with ReSharper Code PatternsPublished:3 min read
ReSharper 5 has a feature called Structural Search and Replace which allows you to perform complex searches on your code and then make equally complex replacements. I used this to create custom code patterns for refactoring to the NUnit Fluent API, which can be included in ReSharper's code inspections. An XML export of the code patterns is available.
Autofac 2.0 PodcastPublished:1 min read
Nicholas Blumhardt talks about Autofac 2 on the Talking Shop Down Under podcast and can also be heard speaking about Autofac on the .NET Rocks! podcast. He discusses IoC containers in general, the service locator pattern, constructor injection, MEF and Autofac, and Autofac 2's new features.
Framework Design Guidelines Second EditionPublished:2 min read
This review summarises the book Framework Design Guidelines Second Edition, discussing how it expands and improves on the first edition. It also mentions how Brad Abrams and Krzysztof Cwalina draw attention to mistakes they have made in order to help others avoid them. It talks about how important it is to create guidance from past issues to limit the accumulation of future technical debt.
Switching to reCAPTCHA for Comment Spam protectionPublished:3 min read
In 2010, I switched to using reCAPTCHA for comment spam protection on my blog. I found an extension written by Filip Stanek that integrates it with BlogEngine.NET, but there were some problems with the extension when used with the DbBlogProvider. I made a few small changes to the code and was able to get it working properly.
MockingBird v2.0 Release Candidate AvailablePublished:1 min read
Santosh Benjamin announced the Release Candidate of MockBird v2.0, a tool that allows you to mock web services through configurable message interception, is now available for download on CodePlex.
Setting your database Compatibility Level to match the SQL Server versionPublished:2 min read
This article explains how to set the Compatibility Level of a database to match the version of SQL Server. It provides a script that can be used on SQL Server 2005 and 2008 instances.
Comment Spam protection for BlogEngine.NETPublished:2 min read
This article discusses a comment spam protection for BlogEngine.NET, which uses Akismet and CAPTCHA solutions to protect from spam. The CAPTCHA solution requires some changes to the code of BlogEngine.NET and might have to be merged with newer versions when upgrading.
WSCF.blue now supports Visual Studio 2010 RCPublished:1 min read
WSCF.blue version 1.0.7 is now available for download, adding support for Visual Studio 2010 RC in addition to Visual Studio 2008. There is an Issue Tracker and Discussions forum available for any problems or feedback.