{"id":24125781,"url":"https://github.com/binarymash/async-playground","last_synced_at":"2026-06-09T08:32:24.035Z","repository":{"id":144758868,"uuid":"47283883","full_name":"binarymash/async-playground","owner":"binarymash","description":"Playground for diving into async/await idiosyncrasies","archived":false,"fork":false,"pushed_at":"2015-12-06T15:54:33.000Z","size":410,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T00:33:42.096Z","etag":null,"topics":[],"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/binarymash.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}},"created_at":"2015-12-02T19:37:51.000Z","updated_at":"2015-12-02T20:08:53.000Z","dependencies_parsed_at":"2023-05-29T23:45:50.560Z","dependency_job_id":null,"html_url":"https://github.com/binarymash/async-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binarymash/async-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymash%2Fasync-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymash%2Fasync-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymash%2Fasync-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymash%2Fasync-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binarymash","download_url":"https://codeload.github.com/binarymash/async-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymash%2Fasync-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34098931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-11T15:37:25.132Z","updated_at":"2026-06-09T08:32:24.018Z","avatar_url":"https://github.com/binarymash.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# async-playground\n\n##Description\n\nThis is a practical demonstration of common gotchas encountered when implementing asynchronous code in .net using the Task-based Asynchronous Pattern (TAP), aka async/await. It demonstrates situations in which blocking async code will/will not lead to deadlocks\n\n##Code\n\nBuilt in C# on Visual Studio 2015. The solution consists of the following projects\n\n####src\\BinaryMash.Playground.Async.BusinessLogic\n\nContains a service which provides various synchronous and asynchronous configurations of a simple service. This is used in the host applications described below.\n\n####src\\BinaryMash.Playground.Async.AspNetHost\n\nAn ASP.NET MVC application. This demonstrates how deadlocks occur when blocking any asynchronous code.\n\n####src\\BinaryMash.Playground.Async.ConsoleHost\n\nA console application. This demonstrates how deadlocks only occur in a console application if we explictly add our own synchronization context.\n\n####src\\BinaryMash.Playground.Async.BusinessLogic.Tests\n\nA unit test assembly. This demonstrates how deadlocks only occur in tests if we explictly add our own synchronization context.\n\n##Further Reading\n\n- [Async Programming - Brownfield Async Development](https://msdn.microsoft.com/en-us/magazine/mt238404.aspx), Stephen Cleary, July 2015\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymash%2Fasync-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarymash%2Fasync-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymash%2Fasync-playground/lists"}