Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Don't set IHttpContextAccessor by default #473

@DamianEdwards

Description

@DamianEdwards

Setting up IHttpContextAccessor on every request is expensive and thus should probably be opt-in. Frameworks that require it (like MVC) can add it to the container as needed. If it's in the container, then we should set it up per request, otherwise, don't.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions