Tag Archives: DI

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

Global Error Handling in ASP.NET MVC 3 with Ninject

Download the code for this blog post. In my last blog post I explained how to decouple infrastructure concerns, such as logging, from the rest of your application using a Dependency Injection container, such as Ninject. I implemented an ILoggingService … Continue reading

Posted in Technical | Tagged , , , | 8 Comments

Using NLog with Dependency Injection

Download the code for this blog post. In my last post I blogged about using Dependency Injection to break tight coupling between application components.  This lets you to treat infrastructure pieces, such as data access or logging, as swappable entities, … Continue reading

Posted in Technical | Tagged , , | 15 Comments

Peeling Back the Onion Architecture

Download the code for this article. Updated 14-Oct-2011: I modified the code sample to include controller unit tests and improved the config and logging services. I recently started a consulting project as an architect on an ASP.NET MVC application and … Continue reading

Posted in Technical | Tagged , , , | 83 Comments