Tag Archives: WCF

Decouple WCF Services from their DI Container with Common Instance Factory

In my last blog post I introduced the Common Instance Factory, which I built as an alternative to Common Service Locator to reduce coupling between an application and a Dependency Injection (DI) container.  Unlike the Common Service Locator (CSL), the … Continue reading

Posted in Technical | Tagged , | 4 Comments

Use Common Instance Factory to Abstract Away the Dependency Injection Container

Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. A while back I wrote a blog post on the Onion Architecture, an approach to building loosely-coupled applications where you can swap out particular components … Continue reading

Posted in Technical | Tagged , | 3 Comments

Roll Your Own REST-ful WCF Router

Download the code for this post here. Recently I’ve been tasked with building a WCF routing service and faced the choice of whether to go with the built-in router that ships with WCF 4.0, or to build one from scratch.  … Continue reading

Posted in Technical | Tagged | 26 Comments

Ninject WCF Extensions for RESTful Services

Download the code for this post. A while ago I blogged about using Ninject for dependency injection with WCF Services.  The advantage of using DI is that it allows you to achieve loose coupling in your application architecture, so that … Continue reading

Posted in Technical | Tagged , | 7 Comments

OData, Where Art Thou?

Gave a talk last night to the Dallas .NET Developer Group on OData and WCF Data Services. I’ll update this post with some info on the topic, but in the meantime you can download the slides and code for the … Continue reading

Posted in Technical | Tagged , , | Leave a comment

Using Ninject with WCF Services

Download the code for this post. Update: This post is based on a older version of Ninject WCF Extensions. For an example of using the new version with REST support, see this post. In my post on the Onion Architecture … Continue reading

Posted in Technical | Tagged , , | 11 Comments

Build a Multi-Project Visual Studio Template

Download the code for this article here. (Zip file updated to include source code for VSIX and Wizard projects.) Earlier this year I authored an open-source toolkit, called Simple MVVM Toolkit, to help developers build Silverlight, WPF and Windows Phone … Continue reading

Posted in Technical | Tagged , | 69 Comments

Digging into WCF REST

Update: The recording for this talk is now available. Last Thursday evening I presented a talk to the Dallas .NET User Group on support in WCF 4 for building REST-ful services. Here is a summary of the talk: To REST … Continue reading

Posted in Technical | Tagged | 20 Comments