Tag Archives: WCF

Simple WCF SOAP-REST Multi-Project Template

Download the source code for this post. I did it again: another multi-project Visual Studio template – this time for a simple WCF service that exposes both SOAP and REST endpoints.  My other REST and SOAP templates are intended as … Continue reading

Posted in Technical | Tagged , , , | Leave a comment

WCF SOAP and REST Multi-Project Visual Studio Templates

Download the code for this post. Last year I published a REST Multi-Project Visual Studio Template on the Visual Studio Extensions Gallery, available for download from the Tools-Manage Extensions menu from within Visual Studio 2010. What I like about this … Continue reading

Posted in Technical | Tagged , , , | Leave a comment

Secure Self-Hosted WCF REST Services with a Custom UserNamePasswordValidator

Download the code for this blog post here. When securing WCF services you’re faced with a choice: Message versus Transport security. Unless you need to conceal messages from an intermediary, your best bet is to stick with transport security and … Continue reading

Posted in Technical | Tagged , , | 19 Comments

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