Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnab-developer/arnabdeveloper.htmlcontent.wpfapp
Show HTML content in WPF app
https://github.com/arnab-developer/arnabdeveloper.htmlcontent.wpfapp
csharp dotnet wpf
Last synced: about 3 hours ago
JSON representation
Show HTML content in WPF app
- Host: GitHub
- URL: https://github.com/arnab-developer/arnabdeveloper.htmlcontent.wpfapp
- Owner: Arnab-Developer
- License: mit
- Created: 2021-05-30T16:52:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T04:07:33.000Z (over 2 years ago)
- Last Synced: 2023-05-25T02:55:14.662Z (over 1 year ago)
- Topics: csharp, dotnet, wpf
- Language: C#
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTML content WPF
A WPF app to show HTML responses.
There are five methods to print the HTML responses.
- `BtnGetContent_Click()` get html contents synchronously
- `BtnGetContentAsync_Click()` get html contents asynchronously
- `BtnGetContentAsyncStream_Click()` get html contents asynchronously but start to return
contents as they are ready before all are complete
- `BtnGetContentParallelAsync_Click()` get html contents asynchronously in parallel
- `BtnGetContentParallelForEachAsync_Click()` get html contents asynchronously in parallel
using `Parallel.ForEach()`
- `BtnGetContentParallelForEachProgressAsync_Click()` get html contents asynchronously in
parallel using `Parallel.ForEach()` and start to return contents as they are ready
before all are complete with progress data.![Screenshot](https://github.com/Arnab-Developer/ArnabDeveloper.HtmlContent.WpfApp/blob/main/Assets/Screenshot.png)
This is influenced by
[C# Advanced Async by TimCorey](https://www.youtube.com/watch?v=ZTKGRJy5P2M)