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
Healthy life, Meta's AI and legibility
Saturday, January 11, 2025
Neologism #25, 11.01.2024 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Daily Coding Problem: Problem #1665 [Medium]
Saturday, January 11, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by LinkedIn. A wall consists of several rows of bricks of various integer lengths and
📊 Every Smartphone I've Ever Owned, Ranked — This Tiny Smart Remote Is the Most Exciting Thing at CES
Saturday, January 11, 2025
Also: 5 Android Notification Features to Make Your Day Easier, and More! How-To Geek Logo January 11, 2025 Did You Know On March 12, 1951, a curious thing happened. In the United States and the United
Ranked | The Top Grossing Movies Worldwide in 2024 🎬
Saturday, January 11, 2025
Established IP dominated the 2024 box office, with top films mostly being sequels, spin-offs, or franchise continuations. View Online | Subscribe | Download Our App FEATURED STORY Ranked: Top Grossing
📖 Your Step-by-Step Guide to Securing AI in the Enterprise
Saturday, January 11, 2025
January 11, 2025 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Tines. When it comes to adopting AI securely,
🐍 New Python tutorials on Real Python
Saturday, January 11, 2025
Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Iterators and Iterables in Python: Run Efficient
Life Update: Me. In Shorts. In Antarctica [Pics Inside 🧊]
Saturday, January 11, 2025
And yes, I jumped in. It taught me a lot 😅 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Google Researcher Uncovers Zero-Click Exploit Targeting Android Devices
Saturday, January 11, 2025
THN Daily Updates Newsletter cover The Kubernetes Book: Navigate the world of Kubernetes with expertise , Second Edition ($39.99 Value) FREE for a Limited Time Containers transformed how we package and
📧 Working with LLMs in .NET using Microsoft.Extensions.AI
Saturday, January 11, 2025
Working with LLMs in .NET using Microsoft․Extensions․AI Read on: my website / Read time: 6 minutes The .NET Weekly is brought to you by: Transform your database performance with RavenDB:
iOS Dev Weekly – Issue 694
Friday, January 10, 2025
Hopefully you won't see that much difference with receiving this issue, but it's ALL CHANGED behind the scenes! 😱