{"id":14966958,"url":"https://github.com/gerardo-lijs/asynchronous-programming-samples","last_synced_at":"2025-10-25T17:31:02.306Z","repository":{"id":111225200,"uuid":"183930772","full_name":"gerardo-lijs/Asynchronous-Programming-Samples","owner":"gerardo-lijs","description":"Samples source code","archived":false,"fork":false,"pushed_at":"2021-02-27T15:39:21.000Z","size":2983,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-01T01:54:08.516Z","etag":null,"topics":["asynchronous-programming","concurrency","reactiveui","samples","tpl"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gerardo-lijs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-28T16:12:24.000Z","updated_at":"2022-10-27T08:18:41.000Z","dependencies_parsed_at":"2023-05-31T12:37:56.960Z","dependency_job_id":null,"html_url":"https://github.com/gerardo-lijs/Asynchronous-Programming-Samples","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"796143f45e2177d2d332c591e62a279f43fbc5af"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerardo-lijs%2FAsynchronous-Programming-Samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerardo-lijs%2FAsynchronous-Programming-Samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerardo-lijs%2FAsynchronous-Programming-Samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerardo-lijs%2FAsynchronous-Programming-Samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gerardo-lijs","download_url":"https://codeload.github.com/gerardo-lijs/Asynchronous-Programming-Samples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219865216,"owners_count":16555929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asynchronous-programming","concurrency","reactiveui","samples","tpl"],"created_at":"2024-09-24T13:37:12.588Z","updated_at":"2025-10-25T17:30:56.876Z","avatar_url":"https://github.com/gerardo-lijs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asynchronous programming in .NET samples\n\n* [Responsive WPF application demo](01-AsyncDesktop)  \nDemo source code of a WPF application to demonstrate responsive UI and the beneficts of using async\n* [Scalability and performance in web applications demo](02-AsyncWebAPI)  \nDemo source code of two Web API to demonstrate performance of using async with IO-bound and CPU-bound operations\n* [Progress in a WPF application demo](03-AsyncProgressDesktop)  \nDemo soure code to demonstrate the simple use of a ProgressRing\n* [Cancellation in a WPF application demo](04-AsyncCancelDesktop)  \nDemo soure code to demonstrate the simple use of CancellationToken\n* [Parallel ForEach and Task.WhenAny demo application](05-ParallelDemoDesktop)  \nDemo soure code of a simple WPF Desktop Application to demonstrate how you can use Task Parallel Library ForEach for CPU-bound operations and how you can use Task.WhenAny for IO-bound operations  \n\n## Notes\n* In WPF desktop sample I didn't use MVVM to have a minimalistic example\n* In Progress, Cancellation and Parallel samples source code I used [ReactiveUI](https://reactiveui.net/) as MVVM framework, [MahApps](https://mahapps.com/) and [OpenCVSharp](https://github.com/shimat/opencvsharp) for simulating a CPU-bound expensive operation. If you are interested in this projects it's worth checkin it out since they are a minimalistic example and easy to see how they work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerardo-lijs%2Fasynchronous-programming-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgerardo-lijs%2Fasynchronous-programming-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerardo-lijs%2Fasynchronous-programming-samples/lists"}