Skip to content

Rendering razor pages / mvc views directly to output stream without buffering #62181

Open
@grsw92

Description

@grsw92

Hi,

I've been recently exploring razor pages (not blazor) and I'm wondering is this possible to render a page without buffering the whole page in memory? From my experiments it looks like the page is always first rendered into memory and then dumped into output stream once fully rendered.

Could you please confirm whether my conclusions are correct? Also is there any possibility to tune the rendering engine to achieve rendering directly to the output/response stream without additional memory allocations?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesfeature-razor-pages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions