Blog Posts
-
Random links for July 2010
This article contains a list of interesting links from July 2010.
-
Attaching the Debugger only in Debug
This article discusses how to use the ConditionalAttribute to create a helper class that includes methods that should only be called when the DEBUG symbol is defined. This way, when you compile with the RELEASE symbol defined all calls to the methods will simply be excluded from the generated MSIL.
-
Fault Contract support in WSCF.blue
WSCF.blue has implemented support for fault contracts, allowing users to define fault messages in their WSDL using the WSDL Wizard. This feature was introduced with a new V1.0.9 update release on CodePlex.
-
Introducing Action Injection with Autofac ASP.NET MVC Integration
Autofac ASP.NET MVC Integration has introduced a new approach to dependency injection called Action Injection, which allows dependencies to be injected into action methods instead of the controller's constructor. This makes it easier to provide mock implementations for unit testing and reduces the number of mocks required.
-
Making Self-Hosting with Autofac WCF Integration easier
This article explains how to use the Autofac WCF integration to make self-hosting WCF services easier. It provides code to extend ServiceHost with a new method called AddDependencyInjectionBehavior which takes an IContainer instance as an argument. This makes the code more concise and eliminates the need to write a separate helper method.