Skip to content

IAsyncActionFilter for asp.net core signalR #9670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Edward-Zhou opened this issue Apr 23, 2019 · 1 comment
Closed

IAsyncActionFilter for asp.net core signalR #9670

Edward-Zhou opened this issue Apr 23, 2019 · 1 comment

Comments

@Edward-Zhou
Copy link

Edward-Zhou commented Apr 23, 2019

Is your feature request related to a problem? Please describe.

For Asp.Net Core MVC, we could try IAsyncActionFilter to capture the action event and to calculate the action hanlding time, or handle something before and after processing the action.

For signalr, it supports OnConnectedAsync and OnDisconnectedAsync for connection event which will fire when connection start and disconnect.

I am wondering whether there is a similar functionality like actionfiler in aspnetcore, and then we could custom the lifecycle to do something before and after the action executes

@davidfowl
Copy link
Member

Dupe of #5353. We don't have this yet but it's planned for a future release.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants