Add support for app level initialization logic
See original GitHub issuee.g. in this thread, the user needs to call ThreadPool.SetMinThreads
, and currently we have no good place to make App Domain init time calls.
Of course, that gives user potential to make some bad calls, but that’s a small concern compared to the scenarios that can unblock (and the could make the same calls in a function anyway).
Issue Analytics
- State:
- Created 7 years ago
- Reactions:22
- Comments:54 (14 by maintainers)
Top Results From Across the Web
App Startup | Android Developers
The App Startup library provides a straightforward, performant way to initialize components at application startup.
Read more >The operation 'Initialize variable' can only be used at top level
Logic app by design only supports Initialization of variables on Global Level(variables are global within an instance of Logic App ...
Read more >Create variables to store and pass values - Azure Logic Apps
In the Azure portal, open your workflow in the designer. In the designer, follow these general steps to add an action named Initialize...
Read more >IIS 8.0 Application Initialization
The Application Initialization feature is configured through a combination of global and application-specific rules that tell IIS 8.0 how and ...
Read more >Where to insert code for application startup? - android
You can write a custom Application class (extend from android.app.Application). Override onCreate to specify what happens when the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey - just wanted to revisit the discussion to see if an app level Azure Function init hook feature is on the horizon?
is there some documentation of the Azure Function lifecycle? I am imagining that there is a server that is hosting the individual functions and the first request loads your function (executing the require statements, the code inline before the export and then instantiating the export) and then holds that function up for an indeterminate amount of time (AWS was 2-5 minutes with their Lambda service). When a second request comes in if there is a live function running it can respond to the request (using that instance initialization parameters) it does, if not it starts a new one up. Please correct me if I am mistaken, I want to understand this better.