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.
Code Quality: Formatting Classes in Microsoft .NET to Make Them Easy to Read and Modify
For the future of the project, it's important that class files are laid out in a way that they are easy to read and modify and do consistently. We do this to avoid “spaghetti code” that does not give developers a good feeling about the stability of the project. In this article, I will show exactly how I format code classes. In this article, I will show exactly how I format code classes by example.
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.
Spargine Dev Tool: For Microsoft .NET Developers
Spargine Dev Tool. A tool designed to help Microsoft .NET developers.
Rockin’ the Code World: Special Guest Brady Gaster
Join me on Saturday, March 4th, 2023, at 10:00 PST on C# Corner for show #75 where, for the second time, my special guest will be Brady Gaster, Principal Program Manager on the .NET Team. Don't miss this special episode!
Rockin’ the Code World: Special Guest Isaac Levin
Join me on Saturday, April 8th, 2023, at 10:00 PST on C# Corner for show #77 where, for the first time, my special guest will be Isaac Levin, .NET Developer Advocate at Amazon Web Services. Don't miss this episode!
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!
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.
You must be logged in to post a comment.