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

Profiling/observing the middleware chain #318

Closed
@avanderhoorn

Description

@avanderhoorn

We and other profiling/debugging groups/teams/projects have the need to be able to observe the ins/outs of each middleware in the chain as its excited. Previous attempts at this required each listener to replace the default app builder and wrap/modify the middleware. This is fragile and breaks down when multiple observers are in play.

This hook/event/notification should also make available the HttpContext, so if specific consumers want to observe changes that middleware makes to the context it can. Additionally, it should make available contextual details that the middleware can opt into providing (specifically, a meaningful name and any other data the middleware want to make available to consumers - for instance settings, config, decisions, etc).

Pretty much across the board, this is the top request we have from users when speaking about what they want to see when creating vNext apps.

Had this discussion with @davidfowl @rynowak @anurse @lodejard @nikmd23

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions