Tag Archives: DI

What It Means to Be a Software Architect — and Why It Matters

For the past year I have worked as a Senior Solutions Architect for a large multinational company in the construction sector. While in the past I functioned as a hybrid developer-architect, designing and building enterprise-scale systems and mission-critical line-of-business applications, … Continue reading

Posted in Technical | Tagged , | 2 Comments

Use EF Core with AWS Lambda Functions

This is Part 3 in a 3 part series: Add .NET Core DI and Config Goodness to AWS Lambda Functions IDesignTimeDbContextFactory and Dependency Injection: A Love Story Use EF Core with AWS Lambda Functions (this post) In a previous post … Continue reading

Posted in Technical | Tagged , , , | 2 Comments

IDesignTimeDbContextFactory and Dependency Injection: A Love Story

This is Part 2 in a 3 part series: Add .NET Core DI and Config Goodness to AWS Lambda Functions IDesignTimeDbContextFactory and Dependency Injection: A Love Story (this post) Use EF Core with AWS Lambda Functions Whenever I set out … Continue reading

Posted in Technical | Tagged , | 3 Comments

Add .NET Core DI and Config Goodness to AWS Lambda Functions

This is Part 1 in a 3 part series: Add .NET Core DI and Config Goodness to AWS Lambda Functions (this post) IDesignTimeDbContextFactory and Dependency Injection: A Love Story Use EF Core with AWS Lambda Functions When Amazon introduced AWS … Continue reading

Posted in Technical | Tagged , , | 15 Comments

Trackable Entities – Now with Repository and Unit of Work

When I released v1.0 of my Trackable Entities Framework, it came with a lot of developer goodness: NuGet packages, Visual Studio project templates, a VSIX installer available from Visual Studio’s Extensions Gallery, Getting Started guides and a screencast. From the … Continue reading

Posted in Technical | Tagged , , | 3 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

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 , , | 17 Comments