I have a WebAPI .Net Core 2.0 project with plenty of methods. Do we have any good example that show the correct way of doing Dependency Injection in Azure Function.
I think Azure Function should support a generic way of calling a method from Generic project.
For Example: I have a GenericProject with my own code in there. In Azure Function, I would like to do some things like this.
Function 1-2-3 can be a Http trigger or Timer trigger
Then My functions will be very thin. I can consolidate my business code into 1 place (project) instead of spreading into multiple Azure Functions.
Hi Everyone,
I have a WebAPI .Net Core 2.0 project with plenty of methods. Do we have any good example that show the correct way of doing Dependency Injection in Azure Function.
I think Azure Function should support a generic way of calling a method from Generic project. For Example: I have a GenericProject with my own code in there. In Azure Function, I would like to do some things like this.
Function1: GenericProject.CleanUpOldCustomerFromDatabase(); Function2: GenericProject.GenerateCustomerBilling(); Function3: GenericProject.SendEmailToNewCustomer():
Function 1-2-3 can be a Http trigger or Timer trigger Then My functions will be very thin. I can consolidate my business code into 1 place (project) instead of spreading into multiple Azure Functions.
Thanks