The last few days I have been struggling with middleware and filters in MassTransit. I had a hard time understanding what was really going on.
Until I stumbled over the following image in the documentation:
I wished I had seen this image anytime sooner. It would have saved me a lot of time!
As a sidenote; it is a good example how the right amount of documentation can really make a difference. I got into the habit to spend more time on documenting what I’m building and this not only helps me to structure my thoughts but also helps a lot in the design process and even made some flaws in my reasoning visible early.
So my advice for today; document more. (I hope my team is reading this)