You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to find an equivalent mechanism to execute code when the function app is started. We already have our own IExtensionConfigProvider in which we setup the services to be injected inside our functions with our custom InjectAttribute, but I don't think it is the right place to execute anything else (example: create Azure Table Storages if they don't exist for custom entity repositories).
With Azure WebJobs, we could have a Program class with Main method in which we could setup multiple things for our job as shown here. Is there something similar for the Azure Functions runtime?
The text was updated successfully, but these errors were encountered:
We're trying to find an equivalent mechanism to execute code when the function app is started. We already have our own
IExtensionConfigProvider
in which we setup the services to be injected inside our functions with our customInjectAttribute
, but I don't think it is the right place to execute anything else (example: create Azure Table Storages if they don't exist for custom entity repositories).With Azure WebJobs, we could have a
Program
class withMain
method in which we could setup multiple things for our job as shown here. Is there something similar for the Azure Functions runtime?The text was updated successfully, but these errors were encountered: