Skip to content
Mika Berglund edited this page Jul 24, 2019 · 3 revisions

Azure Functions Configuration

This tutorial shows how you can leverage instance methods in Azure Functions to implement your configuration information as service classes with dependency injection. Be sure also to check out my previous tutorial about dependency injection in Azure Functions.

This sample is built for version 2 of the Azure Functions runtime.

Steps in Brief

The list below provides a compact list that you can use if you just want to get things going. The navigation on the side provides links to all documentation.

  1. Create new Azure Functions project
  2. Create configuration classes
  3. Add configuration for local debugging
  4. Create Startup class
  5. Add configuration classes as services
  6. Create function classes with Dependency Injection