C# Digest - What's next for System.Text.Json?
#342 — December 21, 2020 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge – invite your friends.
this week's favorite
What's next for System.Text.Json?
.NET 5.0 was released recently and has come with many new features and performance improvements. System.Text.Json is no exception. We have improved performance, reliability, and made it easier to adopt for people who are familiar with Newtonsoft.Json. In this post, I’m going to talk about the progress that has been made with System.Text.Json, and what’s going to come next.
Virtual stub dispatching (VSD) is the technique of using stubs for virtual method invocations instead of the traditional virtual method table. In the past, interface dispatch required that interfaces had process-unique identifiers, and that every loaded interface was added to a global interface virtual table map. This requirement meant that all interfaces and all classes that implemented interfaces had to be restored at runtime in NGEN scenarios, causing significant startup working set increases. The motivation for stub dispatching was to eliminate much of the related working set, as well as distribute the remaining work throughout the lifetime of the process.
Building a Code Analyzer for .NET
What the heck is a code analyzer? Well if you are a Visual Studio user you probably have seen the lightbulbs and wrenches from time to time. Put it simply in my own terms, code analyzers keep an eye on your code and find errors, suggest different ways of doing things, help you know what you aren’t using, etc. Usually coupled with a code fix, an analyzer alerts you to an opportunity and a code fix can be applied to remedy that opportunity.
Improving Debug-time Productivity with Source Link
How many times have you been in the debugger tracking down a bug, stepping through code, looking at what local variable values changed, when you hit a wall — the value isn’t what you expected, and you can’t step into the method that produced it because it’s from a library or .NET framework itself? Or you set a conditional breakpoint waiting to examine how some value got set, then noticing a call stack that’s mostly greyed out, not letting you see what happened earlier in the call stack? Wouldn’t it be great if you could easily step into, set breakpoints, and use all the debugger’s features on NuGet dependencies or the framework itself?
Open Telemetry - Observability in .NET Core Apps
Using OpenTelemetry SDK gives you more flexibility, offering integration with multiple monitoring backends. You can explore and understand the APIs and concepts of it. Using in the production will take some time till the packages are in a stable state. OpenTelemetry’s .NET packages are in beta state and the APIs will be subject to change.
newsletters
Older messages
The fastest CSV parser in .NET
Sunday, December 13, 2020
And more news, tutorials and articles about C# and .NET in this week's issue. #341 — December 14, 2020 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
The updated GetGCMemoryInfo API in .NET 5.0 and how it can help you
Sunday, December 6, 2020
And more news, tutorials and articles about C# and .NET in this week's issue. #340 — December 07, 2020 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
No-nonsense gRPC guide for the C# developers, Part One: Basic Service
Friday, December 4, 2020
And more news, tutorials and articles about C# and .NET in this week's issue. #339 — November 30, 2020 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #338
Monday, November 23, 2020
5 top links — save time, be smarter. Stay on top of technology with C# Digest. c# digest #338 Spread the word, build the community, share the knowledge – invite your friends. this week's favorite
C# Digest #336
Sunday, November 8, 2020
5 top links — save time, be smarter. Stay on top of technology with C# Digest. c# digest #336 Spread the word, build the community, share the knowledge – invite your friends. this week's favorite
You Might Also Like
🚀 Accelerate Your Growth As a Software Architect
Thursday, November 28, 2024
What students are saying about my courses More than 4300+ students already completed my courses. And they gave them a 4.9/5 ⭐ rating. I'd love to see your success story next on this wall of
🫵 Android Developer Previews Are Not For You — Virtual Reality Might Finally Be Socially Acceptable
Wednesday, November 27, 2024
Also: iPhone Camera vs. Digital SLR, and More! How-To Geek Logo November 27, 2024 Did You Know The band Radiohead was originally called "On a Friday"—the band was formed by high school
JSK Daily for Nov 27, 2024
Wednesday, November 27, 2024
JSK Daily for Nov 27, 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 | The World's Biggest Importers of Goods 🌎
Wednesday, November 27, 2024
As Trump tariffs are anticipated to disrupt global trade and push up prices for consumers, we show the world's biggest importers of goods. View Online | Subscribe | Download Our App >> 📱Book
Daily Coding Problem: Problem #1621 [Easy]
Wednesday, November 27, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A regular number in mathematics is defined as one which evenly divides some
Spyglass Dispatch: The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury
Wednesday, November 27, 2024
The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel
The Long Road Home: A Story of Loss, Learning, and Renaissance - PART 4
Wednesday, November 27, 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 27, 2024? The HackerNoon
Top Tech Deals 🏷️ PS5 Slim, 4K TVs, 10th Gen iPad, and More!
Wednesday, November 27, 2024
The Black Friday madness is here! How-To Geek Logo November 27, 2024 Top Tech Deals: PS5 Slim, 4K TVs, 10th Gen iPad, and More! The Black Friday madness is here! Black Friday sales are here, and we
The 165+ best Black Friday deals
Wednesday, November 27, 2024
Windows Super God Mode; Bluesky starter packs; Tech gifts under $100 -- ZDNET ZDNET Tech Today - US November 27, 2024 Black Friday 2024 live blog Best Black Friday deals 2024: 165+ sales live now
⚙️ Neuralink's new trial
Wednesday, November 27, 2024
Plus: Zoom is becoming an AI-first company