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.

C# 12: Collection literals

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: Expose Timestamp data request processing with IHttpSysRequestTimingFeature when using HTTP.sys

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?

Amazing · Great · Okay · Meh · Bad

newsletters

© 2023 Bonobo Press

Would you like to advertise with us? Check out our latest media kit for more information.
If you no longer wish to receive these emails, click to unsubscribe.

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

🔒 The Vault Newsletter: November issue 🔑

Monday, November 25, 2024

Get the latest business security news, updates, and advice from 1Password. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🧐 The Most Interesting Phones You Didn't See in 2024 — Making Reddit Faster on Older Devices

Monday, November 25, 2024

Also: Best Black Friday Deals So Far, and More! How-To Geek Logo November 25, 2024 Did You Know If you look closely over John Lennon's shoulder on the iconic cover of The Beatles Abbey Road album,

JSK Daily for Nov 25, 2024

Monday, November 25, 2024

JSK Daily for Nov 25, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted

Ranked | How Americans Rate Business Figures 📊

Monday, November 25, 2024

This graphic visualizes the results of a YouGov survey that asks Americans for their opinions on various business figures. View Online | Subscribe Presented by: Non-consensus strategies that go where

Spyglass Dispatch: Apple Throws Their Film to the Wolves • The AI Supercomputer Arms Race • Sony's Mobile Game • The EU Hunts Bluesky • Bluesky Hunts User Trust • 'Glicked' Pricked • One Massive iPad

Monday, November 25, 2024

Apple Throws Their Film to the Wolves • The AI Supercomputer Arms Race • Sony's Mobile Game • The EU Hunts Bluesky • Bluesky Hunts User Trust • 'Glicked' Pricked • One Massive iPad The

Daily Coding Problem: Problem #1619 [Hard]

Monday, November 25, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given two non-empty binary trees s and t , check whether tree t has exactly the

Unpacking “Craft” in the Software Interface & The Five Pillars of Creative Flow

Monday, November 25, 2024

Systems Over Substance, Anytype's autumn updates, Ghost's progress with its ActivityPub integration, and a lot more in this week's issue of Creativerly. Creativerly Unpacking “Craft” in the

What Investors Want From AI Startups in 2025

Monday, November 25, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 25, 2024? The HackerNoon

GCP Newsletter #426

Monday, November 25, 2024

Welcome to issue #426 November 25th, 2024 News LLM Official Blog Vertex AI Announcing Mistral AI's Large-Instruct-2411 on Vertex AI - Google Cloud has announced the availability of Mistral AI's

⏳ 36 Hours Left: Help Get "The Art of Data" Across the Finish Line 🏁

Monday, November 25, 2024

Visual Capitalist plans to unveal its secrets behind data storytelling, but only if the book hits its minimum funding goal. View Online | Subscribe | Download Our App We Need Your Help Only 36 Hours