Azure / Azure/azure-functions-dotnet-extensions
Get ExecutionContext.InvocationId in startup (Azure function V2)
- Dominant language
- C#
- Stars
- 81
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
Currently I can retrieve ExecutionContext inside the function method, like this:
`public async Task Run ([HttpTrigger (AuthorizationLevel.Anonymous, "post", Route = null)], ILogger log, ExecutionContext context)`
Is there any way I can retrieve ExecutionContext from my function startup?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the function method signature showing ExecutionContext and trace how startup and function invocation are connected in Azure Functions V2. Check the startup and invocation lifecycle documentation or entry points for access to InvocationId. Done means establishing and documenting whether startup can retrieve it, including the supported alternative if it cannot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100