C# Digest - #434 .NET 7 Networking Improvements

#434 – December 12, 2022 View in browser

C# Digest

Let's kick off the festive season with a fairly chunky newsletter today. 🎄

.NET 7 Networking Improvements

Introducing new networking features in .NET 7 including HTTP space, new QUIC APIs, security, WebSockets, and more!

Use signNow's eSignature API to implement custom document flows that require legally binding signatures (sponsor)

Enhance user experience on your website or mobile app with signNow’s powerful eSignature API. Easily send documents for signature, request payments, create reusable templates with fillable fields, and track the status of documents in real-time with signNow. Create your sandbox account today and test signNow API for free!

Is the regression in GC or something else?

When you change your product to run with one version of .NET to another, sometimes there’s a regression in memory. This could show up as heap size increases, GC pause increases (either individual GC pause increase and/or total GC pause increase), or GC CPU time increases.

Why Byte Arrays Are A Bad Idea When Dealing With Large Data

First off, I want to detail a win: The changes I am about to describe saved 5GB of RAM from a total of 6GB when dealing with a 350MB file.

Refactoring Bloated Controllers with [FromService]

Instead of use the Service Locator pattern to tidy up your ASP.NET MVC controllers, consider using the [FromService] attribute to provide even greater cleanliness and separation of concerns to your classes.

Code Optimization using Span

In this article, we will look at a specific code optimization feature called Span and what it can do to improve the performance of your code.

Following with a few short news updates and nice wish list from Michael.

And we'll wrap up with some neat tips.

Custom Controls for WinForm's Out-Of-Process Designer

A rich user control ecosystem has always been one of the most important WinForms success guarantors. While the runtime support for Custom Controls remains unchanged, there are breaking changes with the design time support for the new Windows Forms (WinForms) .NET Designer.

Generate Strongly-Typed Resources with .NET Core

Visual Studio automatically handles generating strongly-typed resources but that doesn't work from VS Code or just the dotnet CLI. Here's how to fix it.

New ArgumentException and ArgumentOutOfRangeException helpers in .NET 8

Do you remember how .NET 6 introduced the ArgumentNullException.ThrowIfNull guard? And afterward, with .NET 7 we've got this excellent bit: ArgumentException.ThrowIfNullOrEmpty? Guess what, there might come some new handy additions for the upcoming .NET 8 iteration. So let's see what are those new changes and how they make the code simpler.

Prevent http requests to external services in unit tests

In this post, I describe how to detect and prevent http requests to external services from .NET unit tests.

how did you like this issue?

newsletters

© 2022 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

#433 Processing data in parallel using Channels

Sunday, December 4, 2022

#433 – December 05, 2022 View in browser C# Digest Processing data in parallel using Channels Thanks to the Task Asynchronous Programming model writing asynchronous code in .NET is usually

#432 .NET 7 performance improvements are incredible

Sunday, November 27, 2022

#432 – November 28, 2022 View in browser C# Digest .NET 7.0's Performance Improvements with Dynamic PGO are Incredible .NET 7.0 was released to market last week and includes hundreds of major

#431 How fast is really ASP.NET Core?

Sunday, November 20, 2022

#431 – November 21, 2022 View in browser C# Digest Hello! Thanks heaps for a lot of great feedback on the latest changes. It looks like the newsletter is heading into the right direction. Please keep

#430 Debugging tips and tools, new .NET releases and much more

Monday, November 14, 2022

#430 – November 14, 2022 View in browser C# Digest Hello! 👋 I'm exploring new formats for the newsletter and would love to hear your feedback. Let me know if you like today's issue with a bit

#430 Debugging tips and tools, new .NET releases and much more

Monday, November 14, 2022

#430 – November 14, 2022 View in browser C# Digest Hello! 👋 I'm exploring new formats for the newsletter and would love to hear your feedback. Let me know if you like today's issue with a bit

You Might Also Like

iOS Cocoa Treats

Friday, January 10, 2025

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Adopting Swift 6 across the app codebase I've been

Issue #575: Excalibird, bird’s eye metropolis, and Stimulation Clicker

Friday, January 10, 2025

View this email in your browser Issue #575 - January 10th 2025 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

22 CES products you can't miss

Friday, January 10, 2025

10 must-install Linux apps; Cybersecurity in 2025; Email encryption how-to -- ZDNET ZDNET Tech Today - US January 10, 2025 CES logo 2025 CES 2025: The 22 most impressive products you don't want to

⚙️ The wild, wild west

Friday, January 10, 2025

AI's uncertain legislative path ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

ASP.NET Core News - 01/10/2025

Friday, January 10, 2025

View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! Discover the Exciting New Features in .NET Aspire 9 — by rijsat Building a Real-Time Santa's Workshop

ALERT: Ivanti Flaw CVE-2025-0282 Actively Exploited, Impacts Connect Secure and Policy Secure

Friday, January 10, 2025

THN Daily Updates Newsletter cover Deep Learning For Dummies ($21.00 Value) FREE for a Limited Time Take a deep dive into deep learning Download Now Sponsored LATEST NEWS Jan 10, 2025 Taking the Pain

The Sequence Research #466: Small but Migthy, Diving Into Microsoft Phi-4

Friday, January 10, 2025

Some architecture details about Microsoft's famous SLM. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Notes app can do what now?

Friday, January 10, 2025

Hey there, Do you ever use the Notes app on your iPhone? If you do, you'll want to keep reading! The Notes app might look simple, but it has lots of great features to make your life easier. For

The Commodification of Pleasure

Friday, January 10, 2025

…and the enclosure of creative talent ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏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