Is there an existing issue for this?
Describe the bug
While upgrading dot net 6 to dot net 8 for azure function it is giving issue as IHttpContextAccessor is null.
Expected Behavior
It should create object of HttpContextAccessor and should smoothly run.
Steps To Reproduce
Upgrade project from dot net 6 to dot net 8
Exceptions (if any)
No response
.NET Version
8.0
Anything else?
No response