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
🫵 Android Developer Previews Are Not For You — Virtual Reality Might Finally Be Socially Acceptable
Wednesday, November 27, 2024
Also: iPhone Camera vs. Digital SLR, and More! How-To Geek Logo November 27, 2024 Did You Know The band Radiohead was originally called "On a Friday"—the band was formed by high school
JSK Daily for Nov 27, 2024
Wednesday, November 27, 2024
JSK Daily for Nov 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted
Ranked | The World's Biggest Importers of Goods 🌎
Wednesday, November 27, 2024
As Trump tariffs are anticipated to disrupt global trade and push up prices for consumers, we show the world's biggest importers of goods. View Online | Subscribe | Download Our App >> 📱Book
Daily Coding Problem: Problem #1621 [Easy]
Wednesday, November 27, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A regular number in mathematics is defined as one which evenly divides some
Spyglass Dispatch: The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury
Wednesday, November 27, 2024
The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel
The Long Road Home: A Story of Loss, Learning, and Renaissance - PART 4
Wednesday, November 27, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 27, 2024? The HackerNoon
Top Tech Deals 🏷️ PS5 Slim, 4K TVs, 10th Gen iPad, and More!
Wednesday, November 27, 2024
The Black Friday madness is here! How-To Geek Logo November 27, 2024 Top Tech Deals: PS5 Slim, 4K TVs, 10th Gen iPad, and More! The Black Friday madness is here! Black Friday sales are here, and we
The 165+ best Black Friday deals
Wednesday, November 27, 2024
Windows Super God Mode; Bluesky starter packs; Tech gifts under $100 -- ZDNET ZDNET Tech Today - US November 27, 2024 Black Friday 2024 live blog Best Black Friday deals 2024: 165+ sales live now
⚙️ Neuralink's new trial
Wednesday, November 27, 2024
Plus: Zoom is becoming an AI-first company
Matrix Botnet Exploits IoT Devices in Widespread DDoS Botnet Campaign
Wednesday, November 27, 2024
THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.