C# Digest - Async, Await and the UI Problem
#352 — March 01, 2021 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge – invite your friends.
sponsor
Wynter is looking for developers to join its research panel. Give feedback to digital products and landing pages, get paid $90-$180/hr. Super low key commitment, 10-15 mins per survey.
this week's favorite
Async, Await and the UI Problem
The async/await asynchronous programming facilities in .NET solve one of its longstanding problems - how to write an elegant application that uses the UI correctly. But to avoid problems you still need to understand both the problem and the solution.
Debugging a native deadlock in a .NET Linux application
This story begins when one of our integrations tests started got stuck on one PR that seemingly impacted unrelated code. This is a nice excuse to cover some concepts I haven’t touched in my previous articles, such as downloading the .NET symbols on Linux.
Performance Profiling - .NET Object Allocation Tracking
In this video Sagar Shetty shows you how you can see how much memory your app uses and what code paths allocate the most memory by using the .NET Object Allocation tool. This is last video in the series and it has been really eye opening for me. Check them all out if you get the chance!
Five levels of performance tuning for an EF Core query
This is a companion article to the EF Core Community Standup called “Performance tuning an EF Core app” where I apply a series of performance enhancements to a demo ASP.NET Core e-commerce book selling site called the Book App. I start with 700 books, then 100,000 books and finally ½ million books.
Exploring the async/await State Machine
The C# compiler does an enormous amount of work so that we can write asynchronous code that looks almost identical to the synchronous version. We pretty much just put the async and await keywords here and there, ending up with an asynchronous execution with all the benefits coming with that.
newsletters

Older messages
Event Sourcing Example & Explained in plain English
Sunday, February 21, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #351 — February 22, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
An Introduction to Channels in C#
Sunday, February 14, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #350 — February 15, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
What I Learned About C# From Job Interviews
Sunday, February 7, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #349 — February 08, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
Using C# Source Generators to create an external DSL
Sunday, January 31, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #348 — February 01, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
Write Stable Code using Coupling Metrics
Sunday, January 24, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #347 — January 25, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
You Might Also Like
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your