Posts
All the articles I've posted.
Self-Hosting WCF Services with the Autofac WCF Integration
Published:2 min readThis 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 Roadmap
Published:3 min readThe 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 Patterns
Published:3 min readReSharper 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 Podcast
Published:1 min readNicholas 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 Edition
Published:2 min readThis 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 protection
Published:3 min readIn 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 Available
Published:1 min readSantosh 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 version
Published:2 min readThis 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.NET
Published:2 min readThis 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 RC
Published:1 min readWSCF.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.