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
CES 2025 - Sync #501
Sunday, January 12, 2025
Plus: Sam Altman reflects on the last two years; Anthropic reportedly in talks to raise $2B at $60B valuation; e-tattoo decodes brainwaves; anthrobots; top 25 biotech companies for 2025; and more! ͏ ͏
PD#608 Mistakes engineers make in large established codebases
Sunday, January 12, 2025
You can't practice it beforehand ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
C#539 A detailed look at EF Core’s JSON Columns feature
Sunday, January 12, 2025
Comparing it with the traditional tables with indexes
RD#488 How to avoid issues with custom Hooks
Sunday, January 12, 2025
Using them carelessly can lead to many problems
Daily Coding Problem: Problem #1666 [Easy]
Sunday, January 12, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Given n numbers, find the greatest common denominator between them. For example,
🛜 Here's What Happens to Old Websites — Features the Pixel Should Copy From Samsung's One UI 7
Sunday, January 12, 2025
Also: What Instagram Needs to Compete With TikTok, and More! How-To Geek Logo January 12, 2025 Did You Know Mount Wingen, located near Wingen, New South Wales in Australia, is better known as Burning
☁️ Azure Weekly #498 - 12th January 2025
Sunday, January 12, 2025
Festive Tech Calendar 2024 recap, GitHub Copilot Bootcamp, and Dev Containers FTW!
Sunday Digest | Featuring 'The Income Needed to Join the Top 1% in Every U.S. State' 📊
Sunday, January 12, 2025
Every visualization published this week, in one place. Jan 12, 2025 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized the value of the
Android Weekly #657 🤖
Sunday, January 12, 2025
View in web browser 657 January 12th, 2025 Android Weekly Updates Follow us on BlueSky We're there as well! Articles & Tutorials Sponsored Multi-Layered Mobile App Protection Attackers
😼 Notion's cutest launch
Sunday, January 12, 2025
Plus, our staff debates AI dev tools Product Hunt Sunday, Jan 12 The Roundup Happy Sunday! Hi, hello — welcome back to another edition of The Roundup, our weekly newsletter covering the highlights of