A WPF app to show HTML responses.
There are five methods to print the HTML responses.
BtnGetContent_Click()
get html contents synchronouslyBtnGetContentAsync_Click()
get html contents asynchronouslyBtnGetContentAsyncStream_Click()
get html contents asynchronously but start to return contents as they are ready before all are completeBtnGetContentParallelAsync_Click()
get html contents asynchronously in parallelBtnGetContentParallelForEachAsync_Click()
get html contents asynchronously in parallel usingParallel.ForEach()
BtnGetContentParallelForEachProgressAsync_Click()
get html contents asynchronously in parallel usingParallel.ForEach()
and start to return contents as they are ready before all are complete with progress data.
This is influenced by C# Advanced Async by TimCorey