C# Digest #382: 6 essential tools to detect and fix performance issues in .NET
#382 — September 27, 2021 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge – invite your friends.
sponsor
Backend For Frontend Authentication Pattern with Auth0 and ASP.NET Core
Understand the Backend For Frontend authentication pattern and how it can be implemented in ASP.NET with Auth0.
this week's favorite
6 essential tools to detect and fix performance issues in .NET
I don’t know about you, but I’ve been battling with performance problems all my career. And I’ll probably keep doing that all the way to retirement. For some reason, perf issues never seem to end. And the bigger the project gets, no matter how much effort your team puts into optimization, the performance problems keep piling up.
Sometimes, in my research, I come across helpful and great tips to keep in mind but likely wouldn’t be enough to fill a whole post. Rather than let those discoveries fade into the ether, I thought I’d compile them into a pseudo-random blog post. These tips will focus on technologies and techniques that can help build an application, and hopefully, knowing some of these tips will help you solve future problems.
Migration to ASP.NET Core in .NET 6
.NET 6 introduces a new hosting model for ASP.NET Core applications. This model is streamlined and reduces the amount of boilerplate code required to get a basic ASP.NET Core application up and running.
Separating concerns with Pipes & Filters
How do you separate concerns when processing a request? Typical concerns such as Logging, Validation, Exception Handling, Retries, and many more. One way is to build a request pipeline for separating concerns by using the Pipes and Filters pattern. You can also build a pipeline using the Russian Doll model that allows you to short circuit at any point throughout the pipeline.
How to use C#'s Parallel.ForEach
There are certain operations performed in code that lend themselves to being executed in parallel. Some might even call these tasks "embarrassingly parallel". In this post we'll be going over how we can use C#'s Parallel.ForEach to iterate over collections in parallel.
books
Understanding Kubernetes: A Guide to Modernizing Your Cloud Infrastructure
Learn fundamental concepts of Kubernetes, from the components of a Kubernetes cluster to network model implementation. After reading this guide, you’ll have a working knowledge of containers and be able to jump right in and deploy your first Kubernetes cluster. This free guide is available as an instant download with no registration required.
newsletters
Older messages
C# Digest #381: Strong Typing
Sunday, September 19, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #381 — September 20, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #380: Favorite improvements in .NET 6
Sunday, September 12, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #380 — September 13, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #379: File IO improvements in .NET 6
Sunday, September 5, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #379 — September 06, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
A neat trick to debug exceptions in C#
Sunday, August 29, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #378 — August 30, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
Performance improvements in .NET 6
Sunday, August 22, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #377 — August 23, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
You Might Also Like
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.
The Sequence Chat: Why are Foundation Models so Hard to Explain and What are we Doing About it?
Wednesday, November 27, 2024
Addressing some of the interpretability challenges of foundation models and the emerging fields of mechanistic interpretability and behavioral probing. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Overcoming Perfectionism: How to Break Free from the Enemy of Progress
Wednesday, November 27, 2024
Discover how perfectionism hinders progress and learn practical strategies to overcome the fear of imperfection, boost productivity, and achieve your goals without getting stuck in the pursuit of
🖤 Laravel Black Friday Deals!
Wednesday, November 27, 2024
The biggest deals of the year Laravel Black Friday Deals View in browser Laravel News Editor Note: We are sending this outside the regular Sunday newsletter schedule because some of these specials end
BetterDev #271 - Memory: The Forgotten History and Why did Windows 95 setup use three operating systems?
Wednesday, November 27, 2024
Better Dev #271 Nov 26, 2024 Hi all, Welcome to thanksgiving issue of BetterDev. Hope everyone had a safe and warm thanksgiving. It's getting so cold these days. If you are in warzone such as
Mapped | Unemployment Rate By U.S. State in 2024 💼
Tuesday, November 26, 2024
As of October 2024, DC and Nevada tied for the highest unemployment rate in the US at 5.7%. Which states saw the lowest rates? View Online | Subscribe | Download Our App FINAL CHANCE - ENDS TONIGHT!