Calling Flush[Async]() on the writer will NOT flush the stream. Calling Flush[Async]() in Razor will flush both the writer and the stream. Our normal flow will be to flush the writer, but not the stream. This avoids chunking, but allows us to do a WriteAsync on the stream as part of the call to FlushAsync. This is done to avoid a synchronous write due to Dispose calling Flush on the writer, which needs to call Write on the stream. See issue for extensive background. |
||
|---|---|---|
| .. | ||
| AttributeDictionaryTest.cs | ||
| DefaultDisplayTemplatesTest.cs | ||
| DefaultEditorTemplatesTest.cs | ||
| DefaultHtmlGeneratorTest.cs | ||
| ExpressionMetadataProviderTest.cs | ||
| HtmlContentWrapperTextWriterTest.cs | ||
| ModelExplorerExtensionsTest.cs | ||
| ModelExplorerTest.cs | ||
| PartialViewResultExecutorTest.cs | ||
| SaveTempDataFilterTest.cs | ||
| SessionStateTempDataProviderTest.cs | ||
| StringHtmlContentTest.cs | ||
| TempDataDictionaryFactoryTest.cs | ||
| TempDataDictionaryTest.cs | ||
| ViewDataDictionaryOfTModelTest.cs | ||
| ViewDataDictionaryTest.cs | ||
| ViewDataOfTTest.cs | ||
| ViewExecutorTest.cs | ||
| ViewResultExecutorTest.cs | ||