Skip to content

Response flush examples/performance on ASP.MVC (No flush, synchronous and asynchronous)

Notifications You must be signed in to change notification settings

joaope/AspFlushResponseScenarios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASP.MVC Response Flush

  • NoFlush - Usual flow with _Layout.cshtml including <head> and <body>. ViewResult returned at the end of the lifecycle
  • SyncFlush - Synchronously flush _Head.cshtml to the client before continues with _Layout.cshtml
  • AsyncFlush - Asynchronously flush _Head.cshtml to the client continuing with _Layout.cshtml (supported on ASP.NET 4.5+)

All three approaches wait 1 second before return the final response.

About

Response flush examples/performance on ASP.MVC (No flush, synchronous and asynchronous)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published