[Design] Adding support for flush points in Razor pages

Fixes #1042
Make this a full method, this is a hella long Lambda