C# Digest - Using StringBuilder To Replace Values
#460 – June 26, 2023 | View in browser |
C# Digest
Using StringBuilder To Replace Values
Have you ever had to clean up your users’ input, only to realize the pain and aggravation it can lead to with all the unnecessary memory overhead? I recently had an “aha!” moment and thought I would share this tip with you.
Get $1 Off Your Next Domain Name Registration at Porkbun.com! (sponsor)
Porkbun offers hundreds of domain extensions like .net, .dev, .app, and .cloud at the lowest prices around! Plus every Porkbun domain comes with free SSL certificates, WHOIS Privacy, DNS, URL Forwarding, and more. It’s all backed by incredible support 365 days a year plus thousands of five-star reviews on Trustpilot. Click the link to get $1 off your next domain name registration at Porkbun.com!
Validating nested DataAnnotation IOptions recursively with MiniValidation
In this short post I show how you can use the MiniValidation library from Damian Edwards to support recursive validation of IOptions object in .NET 6+.
How to use RuntimeHelpers.IsReferenceOrContainsReferences to micro-optimize collections
In this post, I describe how to use RuntimeHelpers.IsReferenceOrContainsReferences to micro-optimize collections in .NET.
Reset passwords in ASP.NET Core using delegated permissions and Microsoft Graph
This article shows how an administrator can reset passwords for local members of an Azure AD tenant using Microsoft Graph and delegated permissions. An ASP.NET Core application is used to implement the Azure AD client and the Graph client services.
A new feature is hitting C# 12 and it is called Collection literals. In this blog post, I will show you what it is and how it works.
ASP.NET Core 8 is quite there and brings some improvements in performance diagnostics! In this post I will show how to collect detailed timestamp data related to request processing when using HTTP.sys with the new interface IHttpSysRequestTimingFeature.
how did you like this issue?
newsletters
Older messages
Arrays: A Data Structure Deep Dive
Tuesday, June 20, 2023
Master the art of efficient data manipulation and access with arrays #459 – June 19, 2023 View in browser C# Digest Arrays: A Data Structure Deep Dive Master the art of efficient data manipulation and
Reduce heap allocations by using static anonymous functions
Monday, June 12, 2023
As a C# developer you got used to apply anonymous functions everywhere. #458 – June 12, 2023 View in browser C# Digest Reduce heap allocations by using static anonymous functions As a C# developer you
Raiders of the lost root: looking for memory leaks in .NET
Sunday, June 4, 2023
This post explains how you could write your own memory profiler based on .NET profiler APIs #457 – June 05, 2023 View in browser C# Digest Raiders of the lost root: looking for memory leaks in .NET
The Art of HTTP Connection Pooling
Sunday, May 28, 2023
How to Optimize Your Connections for Peak Performance #456 – May 29, 2023 View in browser C# Digest The Art of HTTP Connection Pooling: How to Optimize Your Connections for Peak Performance Connection
How to improve memory allocation when creating HttpContent
Sunday, May 21, 2023
The benefits of using the RecyclableStream and StreamContent #455 – May 22, 2023 View in browser C# Digest How to improve memory allocation when creating HttpContent In almost every application created
You Might Also Like
500 weeks later
Thursday, January 9, 2025
Reflections on a decade-long and looking ahead to 2025 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
JSK Daily for Jan 8, 2025
Wednesday, January 8, 2025
JSK Daily for Jan 8, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Advanced Query Building Techniques in Angular: Queries with Different Connectors The Query
👍 The Coolest Tech at CES 2025 — How to Access Your Mac's Screen from Windows
Wednesday, January 8, 2025
Also: These Are My Best and Worst Smart Home Decisions, and More! How-To Geek Logo January 8, 2025 Did You Know The one and only number retired across all teams in Major League Baseball is 42, Jackie
Daily Coding Problem: Problem #1662 [Hard]
Wednesday, January 8, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Implement an LFU (Least Frequently Used) cache. It should be able to be
The latest Go dev survey results
Wednesday, January 8, 2025
Plus it's time to say goodbye to the Go Time podcast. | #537 — January 8, 2025 Unsub | Web Version Happy New Year to all. In case you missed our note prior to the Christmas break, Go Weekly is now
Ranked | Visualizing Major Asset Class Returns in 2024 📈
Wednesday, January 8, 2025
From bitcoin to the US dollar, asset class returns in 2024 were stellar, in a year marked by elevated rates and a robust US economy. View Online | Subscribe | Download Our App FEATURED STORY
Spyglass Dispatch: Meta Miscues
Wednesday, January 8, 2025
Meta's Social AI Content • Anthropic at $60B • Bluesky at $700M • Dick Wolf's 30 Minute Show • NVIDIA's CPU Aspirations The Spyglass Dispatch is a newsletter sent on weekdays featuring
Top Tech Deals 💰 Anker Power Station, GoPro, 8BitDo Controller, and More!
Wednesday, January 8, 2025
Upgrade your life with a new power station, Wi-Fi 7 router, or AirTags at a big discount. How-To Geek Logo January 8, 2025 Top Tech Deals: Anker Power Station, GoPro Hero, 8BitDo Controller, and More!
Is Claude.ai worth $60 billion? 🎩
Wednesday, January 8, 2025
+ AI will mow my lawn ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Post from Syncfusion Blogs on 01/08/2025
Wednesday, January 8, 2025
New blogs from Syncfusion Effortlessly Manage Large File Uploads with Blazor File Manager By Keerthana Rajendran This blog explains the new chunk upload feature added in the Blazor File Manger