Tag Archives: dependency injection

Service Fabric and Dependency Injection, part 3: Unit testing

This is a series of blog posts: Part 1: Stateful service Part 2: Stateless service Part 3: Unit testing Unit testing of the final construct we’ve got in previous two parts would be challenging due to a number of reasons: … Continue reading

Posted in Programming | Tagged , | Leave a comment

Service Fabric and Dependency Injection, part 2: Stateless Service

This is a series of blog posts: Part 1: Stateful service Part 2: Stateless service Part 3: Unit testing Update: this approach is incorrect, unfortunately. It actually creates two containers: one to instantiate the service and another to instantiate the … Continue reading

Posted in Programming | Tagged , | 6 Comments

Service Fabric and Dependency Injection, part 1: Stateful Service

This is a series of blog posts: Part 1: Stateful service Part 2: Stateless service Part 3: Unit testing The template of a Service Fabric application that is shipped with Visual Studio instantiates all services explicitly. Like and any other … Continue reading

Posted in Programming | Tagged , | Leave a comment