I know I can create HTML helpers in razor views, to reuse code, and do stuff like that. But now I want to do something beyond. I need to modify and monitor HTML that goes to the client, before it leaves server, and after it's rendered. I want some sort of interceptor. I can't find good resources online about this. Maybe I'm not familiar with terminology to make a good search.