Skip to Content
Hands-On Cloud Solutions with Azure
book

Hands-On Cloud Solutions with Azure

by Greg Leonardo
October 2018
Intermediate to advanced
224 pages
5h 22m
English
Packt Publishing
Content preview from Hands-On Cloud Solutions with Azure

Let's talk Dependency Injection

The purpose of Dependency Injection (DI), is that the flow of control within the application is not controlled by the application but by the underlying framework.  Here are some common DI frameworks and while this book isn't about telling you how to develop, I thought pointing this out will help with your overall development process:

  • Castle Windsor
  • Spring.NET
  • Unity 
  • MEF
  • .Net Core

I like using DI because it allows me to loosely couple code and update smaller pieces of code in the long run. It pairs itself great with the DevOps process I will discuss in the next chapter.  It help with unit testing as you can use mocks to generate the implementation of the injected object.

There are three types of DI:

  1. Constructor ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing Azure DevOps Solutions

Implementing Azure DevOps Solutions

Henry Been, Maik van der Gaag
Cloud Native Infrastructure with Azure

Cloud Native Infrastructure with Azure

Nishant Singh, Michael Kehoe
DevOps with Azure

DevOps with Azure

Allen ONeill

Publisher Resources

ISBN: 9781786468659Supplemental Content