Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 581 Bytes

File metadata and controls

13 lines (8 loc) · 581 Bytes

azure-functions-v1-dependency-injection

How to add dependency-injection in you FunctionApp:

  1. Add Startup class in your function app (shown in below image) You can modify the services based on your requirement.

using AzureFunctionsV1.DependencyInjection.Infra;

Image of Startup

  1. Add below line in your FunctionApp class file.

Image of FunctionApp