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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 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? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your