Skip to content

Issue while converting .net 6 to .net 8 for IHttpContextAccessor. #54958

@NitinDevang

Description

@NitinDevang

Is there an existing issue for this?

  • I have searched the existing issues

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions