C# IOC and DI for Mocking and Testing - Ken Hill
C# IOC and DI for Mocking and Testing
This is a walk through and conversation of how to use Dependency Injection (DI) and Inversion of Control (IOC) to work with mocking objects when actual integration is not possible. We will also explore how DI and IOC assist isolation of objects for unit testing and how to extend testing to multiple concretions. Both .NET Framework 4 and Core 2 examples will be provided.
Ken Hill @flipthetrain (https://twitter.com/flipthetrain)
Teach an old Type new tricks with Extension Methods - Duane Newman
Extension methods are a great way to add functionality or integration for established types. Learn about some of the cool things that you can do without the need to subclass or modify a class directly. You can even use extension methods to supply specialized functionality that is only relevant in a particular situation or when also making use of another type or library. We'll take a look at a few quick tricks and explore how you can get started with Extension Methods today.
Centriq Training - http://centriq.com