Skip to content

When should I use IPipelineBehavior over IRequestPreProcessor? What's the core difference? #732

Answered by jbogard
tihomir-kit asked this question in Q&A
Discussion options

You must be logged in to vote

It's not significantly different - it's just to be explicit that "this runs before the handler" and "this runs after the handler", so you don't have to worry about the delegate to execute the continuation. Sometimes that delegate confuses people.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tihomir-kit
Comment options

Answer selected by tihomir-kit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #731 on March 21, 2022 13:02.