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
Key phrases
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
Dot Leap 2024-7: Fat Stacks and Race Tracks
Saturday, April 20, 2024
Thank you for taking the Dot Leap!We cover Polkadot, Kusama, Polkadot-SDK, and all related Web 3.0 projects! Want your content featured? X ...
📧 Introduction to Distributed Tracing With OpenTelemetry in .NET
Saturday, April 20, 2024
Introduction to Distributed Tracing With OpenTelemetry in .NET Read on: my website / Read time: 5 minutes BROUGHT TO YOU BY Shesha: The .NET Open-Source Low-Code Framework Introducing Shesha, a
a16z’s Infrastructure team gets a new general partner
Friday, April 19, 2024
Post News is shutting down and Wall Street isn't feeling a Salesforce-Informatica pairing View this email online in your browser By Christine Hall Friday, April 19, 2024 Image Credits: Andreessen
New Roundtable! Additive for Mass Production Applications
Friday, April 19, 2024
The Outlook for the Future View this email in your browser engineering.com Roundtable - Additive for Mass Production Applications: The Outlook for the Future 6 Considerations for Choosing the Right
📷 What to Know About Macro Photography — Why You Should Buy a Budget Motherboard
Friday, April 19, 2024
Also: How to Automatically Highlight Values in Excel, and More! How-To Geek Logo April 19, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your
Is the wind going out of the AI sails?
Friday, April 19, 2024
Rippling vacuums up venture capital and Ramp bags more millions View this email online in your browser By Haje Jan Kamps Friday, April 19, 2024 Image Credits: Getty Images / Carol Yepes Welcome to
Llama 3 is out - Weekly News Roundup - Issue #463
Friday, April 19, 2024
Plus: brand-new, all-electric Atlas; AI Index Report 2024; Microsoft pitched GenAI tools to US military; Humane AI Pin reviews are in; debunking Devin; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Daily Coding Problem: Problem #1417 [Easy]
Friday, April 19, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Wayfair. You are given a 2 x N board, and instructed to completely cover the board with
Charted | How Hard Is It to Get Into an Ivy League School? 🎓
Friday, April 19, 2024
We detail the admission rates and average annual cost for Ivy League schools, as well as the median SAT scores required to be accepted. View Online | Subscribe Presented by: Discover the motivations
Dark Matter & Tortured Poets
Friday, April 19, 2024
New music releases aren't what they used to be -- for good and bad. Dark Matter & Tortured Poets By MG Siegler • 19 Apr 2024 View in browser View in browser New music releases in 2024 are a