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
Key phrases
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
Scoop: Tiger Global-backed Innovaccer in talks to raise $250M
Wednesday, May 1, 2024
Plus: An update on Google's layoffs and the social platform X didn't see coming View this email online in your browser By Christine Hall Wednesday, May 1, 2024 Welcome to TechCrunch PM. Today,
🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring
Wednesday, May 1, 2024
Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a
Daily Coding Problem: Problem #1428 [Hard]
Wednesday, May 1, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such
Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More
Wednesday, May 1, 2024
Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or
Infographic | Visualizing Global Gold Production in 2023 🏅
Wednesday, May 1, 2024
Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history
⚙️ GPT-5 may be releasing sooner than expected
Wednesday, May 1, 2024
Plus: Amazon rebrands AI branch
Noonification: How to Create a CI/CD Pipeline Using GitHub and AWS EC2
Wednesday, May 1, 2024
Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 1, 2024? The HackerNoon Newsletter brings the HackerNoon
Arc for Windows is better than Chrome
Wednesday, May 1, 2024
Adobe bug bounty; Rabbit's first R1 software update; Dream podcaster mic -- ZDNET ZDNET Tech Today - US May 1, 2024 placeholder Arc browser is now available for Windows and it's so much better
Is TikTok trying to get banned from the App Store early?
Wednesday, May 1, 2024
TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and
Get Compliant in 2024 - Download Ultimate PAM Policy Template Today
Wednesday, May 1, 2024
Privileged Access Management Policy Template What are your PAM policies for 2024? Get ready for the New Year Is your approach to Privileged Access Management as current and effective as it could be? In