Source Generators were introduced in .NET 5 and provide a powerful way to not only generate code but also improve performance. This post will show, by example, how to use the source generators in Microsoft .NET.
Category: Performance
Microsoft .NET Source Generators: Speeding up JSON Serialization
This article shows, by example, how to speed up serialization of objects to JSON in Microsoft .NET using the JsonSerializable attribute.
Coding Faster with dotNetTips.com Spargine 6: February 2023 Release
I am pleased to announce the new release (v2023.6.2.1) of Spargine on February 3rd, 2023, my open-source projects, and NuGet packages for .NET 6 & 7. I have added new classes, methods, benchmarks, and unit tests!
Rockin’ the Code World: Special Guest Milan Jovanović
Join me on Saturday, March 18th, 2023, at 10:00 PST on C# Corner for show #76 where, for the first time, my special guest will be Milan Jovanović, Software Architect, and Content Creator. Don't miss this episode!
Public Service Announcement: PMs and Managers Must Ensure Memory Issues are Not Introduced in Microsoft .NET Projects!
I have been writing about this in books and articles since the beginning of Microsoft .NET over 20 years ago. This first PSA is geared toward Project Managers and Development Managers as a warning, so their projects don't suffer from preventable issues like this that I see at every company I work for.
Performance: The Fastest Way to Loop Over an Array in Microsoft .NET
Arrays in Microsoft .NET are one of the fastest collections in the framework. After you read the rest of this article, I’m sure you will need to do some refactoring to speed up your projects.
Rock Your Code: Code & App Performance for Microsoft.NET – 3rd Edition
I am announcing the 3rd edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. I worked on this book for a big chunk of 2022 so I hope that you and your team will find it useful.
Rock Your Code: Code & App Performance for Microsoft.NET
Today I am announcing the brand new edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. How fast your code executes is very important for your users and back-end server processes. This is even more important for the future as more and more users, use … Continue reading Rock Your Code: Code & App Performance for Microsoft.NET
dotNetDave Rocks the Cleveland C#/VB.Net User Group
The For Those About to Code: Worldwide Tour 2022 will be at the Cleveland C#/VB.Net User Group on December 22th for the first time! I will be presenting the session below (virtually).
Benchmark Your Code Like dotNetDave!
This article is about how to use Spargine along with BenchmarkDotNet to benchmark your projects, easier!
You must be logged in to post a comment.