You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
By default Razor pages buffer output in memory. This is required for the a view is rendered - first a page is executed, the page specifies the Layout and additionally sets up properties in the ViewBag \ ViewData that the Layout would consume (page title, sections etc). Consequently, no byte is written to the output until the entire page is rendered.
Flush points would allow for switching to directly writing to the output when we encounter a invocation
<- Buffered section -->
<html>
<head>
<link type="text/css" href="bootstrap.css" />
<title>@Page.Title</title>
</head>
<-- Flush buffered content to response and no longer buffer content -->
@FlushAsync()
The text was updated successfully, but these errors were encountered:
By default Razor pages buffer output in memory. This is required for the a view is rendered - first a page is executed, the page specifies the Layout and additionally sets up properties in the
ViewBag
\ViewData
that the Layout would consume (page title, sections etc). Consequently, no byte is written to the output until the entire page is rendered.Flush points would allow for switching to directly writing to the output when we encounter a invocation
The text was updated successfully, but these errors were encountered: