An example of Dependency Injection in .NET

I recently added a presentation of an IoC/DI example to GitHub. The presentation can be viewed here. The code is available here. The purpose of this example was to show how you can make a system extendable and testable by using injections and only depend on interfaces.

Remember that:



Book review: The Software Craftsman by Sandro Mancuso

Software Craftsmanship is a set of values that extends the agile manifesto so that it considers quality in a more pronounced way. Instead of focusing solely on building the right thing it also includes aspects of building the thing right. In my opinion, you need both. You need to build the right thing so that stakeholders, customers and users get the value they need, but you also need to build the thing right Рor else you end up with that dreaded big ball of mud with all its consequences like low maintainability, slow development, error-prone systems, low morale etc.

Continue reading →