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
Youre Overthinking It
Wednesday, January 15, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, January 15, 2025? The
eBook: Software Supply Chain Security for Dummies
Wednesday, January 15, 2025
Free access to this go-to-guide for invaluable insights and practical advice to secure your software supply chain. The Hacker News Software Supply Chain Security for Dummies There is no longer doubt
The 5 biggest AI prompting mistakes
Wednesday, January 15, 2025
✨ Better Pixel photos; How to quit Meta; The next TikTok? -- ZDNET ZDNET Tech Today - US January 15, 2025 ai-prompting-mistakes The five biggest mistakes people make when prompting an AI Ready to
An interactive tour of Go 1.24
Wednesday, January 15, 2025
Plus generating random art, sending emails, and a variety of gopher images you can use. | #538 — January 15, 2025 Unsub | Web Version Together with Posthog Go Weekly An Interactive Tour of Go 1.24 — A
Spyglass Dispatch: Bromo Sapiens
Wednesday, January 15, 2025
Masculine Startups • The Fall of Xbox • Meta's Misinformation Off Switch • TikTok's Switch Off The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely
The $1.9M client
Wednesday, January 15, 2025
Money matters, but this invisible currency matters more. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
⚙️ Federal data centers
Wednesday, January 15, 2025
Plus: Britain's AI roadmap
Post from Syncfusion Blogs on 01/15/2025
Wednesday, January 15, 2025
New blogs from Syncfusion Introducing the New .NET MAUI Bottom Sheet Control By Naveenkumar Sanjeevirayan This blog explains the features of the Bottom Sheet control introduced in the Syncfusion .NET
The Sequence Engineering #469: Llama.cpp is The Framework for High Performce LLM Inference
Wednesday, January 15, 2025
One of the most popular inference framework for LLM apps that care about performance. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
3 Actively Exploited Zero-Day Flaws Patched in Microsoft's Latest Security Update
Wednesday, January 15, 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