From the course: Azure Functions for Developers
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Creating and preparing the AnalyzerService projects - Azure Tutorial
From the course: Azure Functions for Developers
Creating and preparing the AnalyzerService projects
- [Instructor] Azure function supports dependence injection which is one way to achieve inversion of control. For instance, we could easily decouple the different components with this technique by using abstractions instead of concrete implementations. We're going to start this chapter by creating two additional projects in our solution to demonstrate the use of dependency injection. There's a lot of things to do. So please stick with me and let's get started. Here in the solution, I'm going to add a new project of type class library. This class library, it's going to be photos, analyzer service abstractions, and here I'm going to implement a new interface named I Analyzer Service. And of course I have to change this class to an interface, this is because I want to inject this I Analyzer Service interface to the photo storage class that is right here. The goal of the concrete implementation of I Analyzer Service will be…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.