{"id":24125781,"url":"https://github.com/binarymash/async-playground","last_synced_at":"2025-02-28T23:26:50.521Z","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-01-11T15:42:10.626Z","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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241274758,"owners_count":19937251,"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":[],"created_at":"2025-01-11T15:37:25.132Z","updated_at":"2025-02-28T23:26:50.492Z","avatar_url":"https://github.com/binarymash.png","language":"C#","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","funding_links":[],"categories":[],"sub_categories":[],"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"}