Add helper to register IHttpContextAccessor #947

Merged
merged 1 commit into from Oct 2, 2017

Conversation

Projects
None yet
5 participants
@henkmollema
Contributor

henkmollema commented Oct 2, 2017

Added helper extension method to register IHttpContextAccessor with correct lifetime. Added tests as well.

Resolves #946

@henkmollema

This comment has been minimized.

Show comment
Hide comment
Contributor

henkmollema commented Oct 2, 2017

@Tratcher Tratcher merged commit d6a3c3f into aspnet:dev Oct 2, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@Tratcher Tratcher added this to the 2.1.0 milestone Oct 2, 2017

@henkmollema henkmollema deleted the henkmollema:httpcontextaccessor-helper branch Oct 2, 2017

@davidfowl

This comment has been minimized.

Show comment
Hide comment
Member

davidfowl commented Oct 2, 2017

Nice @henkmollema !

khellang added a commit to khellang/Identity that referenced this pull request Oct 2, 2017

@khellang khellang referenced this pull request in aspnet/Identity Oct 2, 2017

Merged

Use AddHttpContextAccessor #1449

khellang added a commit to khellang/JavaScriptServices that referenced this pull request Oct 2, 2017

@khellang khellang referenced this pull request in aspnet/JavaScriptServices Oct 2, 2017

Merged

Use AddHttpContextAccessor #1310

khellang added a commit to khellang/Mvc that referenced this pull request Oct 3, 2017

@khellang khellang referenced this pull request in aspnet/Mvc Oct 3, 2017

Merged

Use AddHttpContextAccessor method #6905

pranavkm added a commit to aspnet/Mvc that referenced this pull request Oct 3, 2017

SteveSandersonMS added a commit to aspnet/JavaScriptServices that referenced this pull request Oct 4, 2017

HaoK added a commit to aspnet/Identity that referenced this pull request Oct 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment