C# Digest #422: Speed Up Logging in .NET 6
#422 — July 04, 2022 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
Build internal tools 10x faster with Retool
Retool helps developers build internal software faster. Read and write back to any database or API, and quickly assemble apps with 100+ pre-built components. Then, customize your apps using JavaScript as and when you need, and ship your app with access controls - all in 1/10th the time.
this week's favorite
In a recent article, I wrote and demonstrated how to speed up logging using LoggerMessage in .NET. Not long after I wrote that article, I learned of an even faster way to log using .NET 6. This article will show you how you can use this new way of logging and show the results of benchmark tests.
Leveraging trimming to make the Microsoft Store faster and reduce its binary size
In our previous blog post about the new Microsoft Store, we talked about how it’s a native C#/XAML Windows application running on the UWP framework, and how it leverages .NET Native to be distributed as a 100% AOT binary with great startup performance. We also discussed how we’ve been working to refactor the codebase to make it faster, easier to maintain, and to work almost entirely in C# running on the .NET runtime.
Understanding your middleware pipeline .NET 6 with the Middleware Analysis package
In this post I introduce the Microsoft.AspNetCore.MiddlewareAnalysis package, and how you can use it to visualise the middleware pipeline of your ASP.NET Core apps. In this post I show how to use it with a .NET 6 WebApplication app.
The Best C# .NET Web Application Tech Stack: Choosing The Back End
Did you notice that Microsoft announces a new and amazing web development framework each year? This year we had Minimal API hosting, before that we had Blazor, and before that we had ASP.NET Core. My point is that as the years go by, we get more and more technologies, and it’s getting hard to keep track of them all. In this article series, we’ll go over all the ways to build a web application using Microsoft technologies and try to make some order in the mess. Our constraint is to use .NET and Azure.
Nondestructive Mutation and Records in C#
In this article, we will discuss nondestructive mutation: What does it mean to mutate an object without destroying it, and how do we implement it using records or classes that are not records in C#.
how did you like this issue?
1 = didn't like it at all and 5 = loved it and shared it with everyone I know
newsletters
Older messages
C# Digest #421: Should I avoid LINQ for performance reasons?
Sunday, June 26, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #421 — June 27, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #420: Distributed systems evolution challenges
Sunday, June 19, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #420 — June 20, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #419: The Best C# .NET Web Application Tech Stack: Choosing The Front End
Sunday, June 12, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #419 — June 13, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #418: Incremental ASP.NET to ASP.NET Core Migration
Sunday, June 5, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #418 — June 06, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #417: Waiting to never happen
Sunday, May 29, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #417 — May 30, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
You Might Also Like
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
Impact of AI on Product Management
Friday, April 19, 2024
Impact of AI on Product Management The rise of the AI Product Manager. Product managers have always championed customer's needs. However, with AI, the job requires new technical and ethical
⚙️ Zuck has entered the chat(bot)
Friday, April 19, 2024
Plus: AI video's coming to mobile!
Noonification: Just Made my First Dollar With My SaaS After Quitting my Job
Friday, April 19, 2024
Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech this week: The Noonification by HackerNoon has got you covered with
From Not to Hot 🔥7 Practices to Land a Trending Story
Friday, April 19, 2024
Discover the Insider Secrets to Elevate Your Story's Success! 🚀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
iOS Dev Weekly - Issue 657
Friday, April 19, 2024
What's the easiest and least hassle path to launching a custom app store in the EU? 🏪 View on the Web Archives ISSUE 657 April 19th 2024 Comment You probably already saw this week's
Vision Pro App Development, TipKit and more...
Friday, April 19, 2024
View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Readers Become Part of the Plot with Vision Pro App
Your 3 AI Incubator Tracks: Curriculum, Coaching, or 1-on-1 Mentorship
Friday, April 19, 2024
How to pick the one that's right for you