Skip to content

Simple way to access frequently-used request-specific data #4

@kiapanahi

Description

@kiapanahi

Much like the ASP.NET OWIN which had an OwinContext, There is also an IDictionary<object, object> in ASP.NET Core's HttpContext.Items property. It would be nice to have some kind of helper to ease the access of such items in order to not to inject HttpContextAccessor everywhere.

The following work of Steve Gordon might be helpful:
https://github.com/stevejgordon/CorrelationId

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions