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!
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.
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.
- What’s new in Visual Studio productivity
- My Christmas Wish List from Visual Studio and the C# Build System
- What’s new in the Microsoft Fluent UI library for Blazor version 2.0
- 5 new MVC features in .NET 7
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
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
Nvidia Disappoints
Tuesday, November 26, 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 26, 2024? The HackerNoon
Tech in 2024: The winners and losers
Tuesday, November 26, 2024
Retesting AI detectors; Linux support options; Android home screen launchers -- ZDNET ZDNET Tech Today - US November 26, 2024 Meta Ray-Ban Smart Glasses ZDNET Tech winners and losers of 2024: The year
LW 160 - How to Edit Shopify Code So It’s Easy to Update Your Theme Later
Tuesday, November 26, 2024
How to Edit Shopify Code So It's Easy to Update Your Theme Later Shopify Development news and
State of JavaScript 2024; ECMAScript Internationalization API; JS without build system
Tuesday, November 26, 2024
We have 9 links for you - Stay up-to-date on JavaScript and tools Survey: State of JavaScript 2024 (Nov 13 – Dec 3) survey.devographics.com @sachagreif@front-end.social Intl [ECMAScript
The military adopts Claude AI 💪
Tuesday, November 26, 2024
plus, AI doctors get better 🖖 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Post from Syncfusion Blogs on 11/26/2024
Tuesday, November 26, 2024
New blogs from Syncfusion All Things Open 2024 Takeaways, Part 2: Transparency By Marissa Keller Outten Discover the importance of transparency, learn how to build it, and overcome barriers to drive
⚙️ New Nvidia
Tuesday, November 26, 2024
Plus: Study on LLM reasoning
Your First 90 Days as CISO: 15 Steps to Success
Tuesday, November 26, 2024
Essential strategies for a strong start in your new CISO role - get the roadmap now. The Hacker News The First 90 Days as CISO: Your Roadmap to Success The clock starts ticking the moment you step into
Your monthly update has arrived
Tuesday, November 26, 2024
What's new in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16 Android 16
RomCom Exploits Zero-Day Firefox and Windows Flaws in Cyberattacks
Tuesday, November 26, 2024
THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.