.NET Digest #5
Welcome to the fifth issue of our .NET news and events digest! As usual, we've gathered a lot of stuff. Also, the new .NET has been released. The PVS-Studio team is happy to present a selection of most interesting and useful content. Let's get started! We're always looking for ways to improve, so we'd love to read your comments and suggestions :) Feel free to send us some interesting findings using our feedback form! I hope you all had great Christmas holidays and enjoyed the festivities. Meanwhile, it's time for a new .NET Digest, since .NET Digest #4 is already a yesteryear's memory :) Today's New Year's Digest features many interesting articles and the release of .NET 9. Top news Announcing .NET 9 .NET 9 has been released on November 12. It includes new features and thousands of performance and security improvements. We've already written several articles that cover the enhancements in .NET 9 and C# 13: What's new in .NET 9? What's new in C# 13: overview Of course, we've updated PVS-Studio as well—now it supports .NET 9 projects. Articles Top .NET Blogs Posts of 2024 Do you want to know about the best articles on the .NET blog? Then this top is for you. There you'll find articles on .NET 9, .NET Aspire, ASP.NET Core, and, of course, C#. Introducing the .NET Aspire Community Toolkit Microsoft has also introduced the .NET Aspire Community Toolkit. This is a toolkit for creating custom integrations for .NET Aspire. The kit also includes documentation and a dozen integrations. Calling methods is easier and faster with C# 13 params collections The article is about a new feature of the language—params collections. As of C# 13, params can be any collection type that supports collection expressions. For more details on the feature and how to use it, see the article. Nullable Reference Types in F# 9 Honestly, I don't even remember if there was any news about F# in the .NET Digest. However, I couldn't miss this one. The article will introduce you to how Nullable Reference Types appeared in F#. The feature tells the compiler which types can contain a null value and which ones can't. This eliminates the security issue when working with null values. Dramatically faster package restores with .NET 9's new NuGet resolver With the release of .NET 9, NuGet developers have dramatically improved project recovery using a new dependency graph resolution algorithm. This resulted in a significant boost for large projects. For example, in some projects, recovery time has reduced from 16 to 2 minutes. The new algorithm is included in .NET 9 and is enabled by default. How can one code line crash application? Looking for issues and vulnerabilities in ScreenToGif ScreenToGif is a useful application that enables you to create a GIF file from a screen or webcam recording, which you can easily edit in the built-in editor. This article covers some fascinating buggy snippets in the project source code and demonstrates how one small error can break the entire program. Top 10 errors found in C# projects in 2024 Throughout 2024, the PVS-Studio team has been actively sharing articles about checking open-source C# projects. We've decided to continue the tradition and picked for you the 10 most annoying bugs detected for this year. How to update library and get swamped with this task. Roslyn and PVS-Studio 7.34 update Every year, Microsoft releases a new version of .NET. This is a major event that prompts us to update PVS-Studio to support new features. This article highlights the PVS-Studio team's pain when updating Roslyn, an integral part of .NET. News .NET 6 will reach End of Support on November 12, 2024 In one of our previous digests, we wrote about Microsoft ending support for .NET 6 on November 12. Did you update to LTS .NET 8 or go straight to the .NET 9 version? A recreation of the classic Visual Basic 6 IDE and language in C# with Avalonia Visual Basic 6 IDE has been recreated in C# using Avalonia. Releases PVS-Studio 7.34: support for Apple Silicon ARM64, .NET 9, taint analysis in Java analyzer PVS-Studio 7.32 has been released. This release adds support for Apple Silicon processors with ARM64 architecture, .NET 9 projects, and more! See more details in the press release. Finally, there are new diagnostic rules for C#: V3207, V3208, V3209, V3210, V4007. You can visit this page to get a trial key and try the latest version of the analyzer. dotCover, dotMemory, dotPeek, and dotTrace 2024.3 Have Been Released! The developers have made several changes in the new versions of these tools. The user interface is now the same for all operating systems. Also, new graphs based on profiling results have been added. You can read more about these and other changes in the article. ReSharper 2024.3: Day-One C# 13 Support, Streamlined Code Cleanup, and Enhanced C++ Tools The new version of ReSharper adds support for C# 13 features, better code formatting, and many ot
Welcome to the fifth issue of our .NET news and events digest! As usual, we've gathered a lot of stuff. Also, the new .NET has been released. The PVS-Studio team is happy to present a selection of most interesting and useful content. Let's get started!
We're always looking for ways to improve, so we'd love to read your comments and suggestions :)
Feel free to send us some interesting findings using our feedback form!
I hope you all had great Christmas holidays and enjoyed the festivities. Meanwhile, it's time for a new .NET Digest, since .NET Digest #4 is already a yesteryear's memory :)
Today's New Year's Digest features many interesting articles and the release of .NET 9.
Top news
.NET 9 has been released on November 12. It includes new features and thousands of performance and security improvements. We've already written several articles that cover the enhancements in .NET 9 and C# 13:
Of course, we've updated PVS-Studio as well—now it supports .NET 9 projects.
Articles
Do you want to know about the best articles on the .NET blog? Then this top is for you. There you'll find articles on .NET 9, .NET Aspire, ASP.NET Core, and, of course, C#.
Introducing the .NET Aspire Community Toolkit
Microsoft has also introduced the .NET Aspire Community Toolkit. This is a toolkit for creating custom integrations for .NET Aspire. The kit also includes documentation and a dozen integrations.
Calling methods is easier and faster with C# 13 params collections
The article is about a new feature of the language—params collections. As of C# 13, params can be any collection type that supports collection expressions. For more details on the feature and how to use it, see the article.
Nullable Reference Types in F# 9
Honestly, I don't even remember if there was any news about F# in the .NET Digest. However, I couldn't miss this one. The article will introduce you to how Nullable Reference Types appeared in F#. The feature tells the compiler which types can contain a null value and which ones can't. This eliminates the security issue when working with null values.
Dramatically faster package restores with .NET 9's new NuGet resolver
With the release of .NET 9, NuGet developers have dramatically improved project recovery using a new dependency graph resolution algorithm. This resulted in a significant boost for large projects. For example, in some projects, recovery time has reduced from 16 to 2 minutes. The new algorithm is included in .NET 9 and is enabled by default.
How can one code line crash application? Looking for issues and vulnerabilities in ScreenToGif
ScreenToGif is a useful application that enables you to create a GIF file from a screen or webcam recording, which you can easily edit in the built-in editor. This article covers some fascinating buggy snippets in the project source code and demonstrates how one small error can break the entire program.
Top 10 errors found in C# projects in 2024
Throughout 2024, the PVS-Studio team has been actively sharing articles about checking open-source C# projects. We've decided to continue the tradition and picked for you the 10 most annoying bugs detected for this year.
How to update library and get swamped with this task. Roslyn and PVS-Studio 7.34 update
Every year, Microsoft releases a new version of .NET. This is a major event that prompts us to update PVS-Studio to support new features. This article highlights the PVS-Studio team's pain when updating Roslyn, an integral part of .NET.
News
.NET 6 will reach End of Support on November 12, 2024
In one of our previous digests, we wrote about Microsoft ending support for .NET 6 on November 12. Did you update to LTS .NET 8 or go straight to the .NET 9 version?
A recreation of the classic Visual Basic 6 IDE and language in C# with Avalonia
Visual Basic 6 IDE has been recreated in C# using Avalonia.
Releases
PVS-Studio 7.34: support for Apple Silicon ARM64, .NET 9, taint analysis in Java analyzer
PVS-Studio 7.32 has been released. This release adds support for Apple Silicon processors with ARM64 architecture, .NET 9 projects, and more! See more details in the press release.
Finally, there are new diagnostic rules for C#: V3207, V3208, V3209, V3210, V4007.
You can visit this page to get a trial key and try the latest version of the analyzer.
dotCover, dotMemory, dotPeek, and dotTrace 2024.3 Have Been Released!
The developers have made several changes in the new versions of these tools. The user interface is now the same for all operating systems. Also, new graphs based on profiling results have been added. You can read more about these and other changes in the article.
ReSharper 2024.3: Day-One C# 13 Support, Streamlined Code Cleanup, and Enhanced C++ Tools
The new version of ReSharper adds support for C# 13 features, better code formatting, and many other changes.
Thank you for reading! See you soon! Feel free to share your thoughts and findings with us!