Welcome to the seventh part of our digest of news and events in the .NET world! We've packed in many updates this time from NET 10 Previews 2 and 3, the latest Mono release, lots of curious articles, to AI. The PVS-Studio team is excited to present a selection of most interesting and useful content. Let's get started!
We're always looking for ways to develop, so we'd love to read your comments and suggestions :)
Feel free to send us some interesting findings via our feedback form!
In today's digest: .NET 10 Previews 2 and 3, the latest Mono release, AI-powered enhancements in Visual Studio, and many interesting articles.
Top news
The 6.14.0 release of Framework Mono is now available
The Wine developers have rolled out the release version of Mono 6.14.0. It includes changes accumulated since the last version released five years ago. This is the first Mono release developed by the Wine team after taking over from Microsoft.
Here are the key changes in Mono 6.14.0.
- Added support for macOS with ARM64.
- Enhanced support for the generated COM interfaces.
- Fixed errors and the refined stability of
System.Windows.Forms
. - Fixed some common cases where processes hung on exit.
.NET 10 Preview 2 is now available!
.NET 10 Preview 3 is now available!
We've just mentioned the first preview of .NET 10 in the last .NET Digest—and now Previews 2 and 3 are already out. As always, the updates are extensive and cover the .NET Runtime, SDK, libraries, and much more.
Here are some new features and enhancements.
- Support for partial constructors and events.
- Extension members: New syntax enables declaring extension properties using
extension
blocks. - Null-conditional assignment: Now developers can write as follows:
customer?.Age = newAge
.
In a previous .NET Digest, we talked about the optimization from .NET Preview 1: arrays of value types can be allocated on the stack, provided that the array is guaranteed not to outlive its parent method. This optimization is now available for arrays of reference types as well.
Articles
Introducing automatic documentation comment generation in Visual Studio
Copilot, integrated into Visual Studio, can automatically generate function comments, assisting you in writing descriptions for your "magic" method that "enchants" your code.
https://import.viva64.com/docx/blog/1250_NET_digest_N7/image2.gif?ver=05-16-2025-10-06-40
How we ended up rewriting NuGet Restore in .NET 9
The NuGet team has posted an article describing how they decided to completely rewrite the NuGet Restore algorithm to achieve a breakthrough in performance and scalability. They highlight the case of the project whose restore time dropped from 32 minutes to 2 minutes—it's a miraculous result!
Effortless adjustments with an adaptive paste
Now Visual Studio can adapt pasted code to your project: Copilot offers how to fix your code style, minor errors, and more. All this is aimed at reducing time and streamlining routine and tedious actions when pasting copied code. Now it'll be even easier to copy-paste from Stack Overflow.
Hello HybridCache! Streamlining Cache Management for ASP.NET Core Applications
Microsoft has posted a new article about HybridCache
! It's available via the Microsoft.Extensions.Caching.Hybrid
package. HybridCache
allows the cache to be both stored in memory and distributed, for example, via Redis.
MSTest 3.8: Top 10 features to supercharge your .NET tests!
Microsoft is continually working to enhance MSTest. This article covers the top 10 features of MSTest 3.8, such as test filtering, automatic restart of dropped tests, OSConditionAttribute
for precise run control, and more.
Numerical sorting (also called natural sorting) organizes strings in more human-intuitive way by treating numbers separately. Previously, .NET didn't have a built-in implementation, but .NET 10 introduces a new CompareOptions.NumericOrdering
flag. The author of the article explores both the new flag-based approach and other ways of ordering strings via numeric sorting.
PVS-Studio in development of Unity projects: new specialized diagnostic rules
Unity continues to be a favorite among thousands of developers, with many well-known games built with this engine. How can Unity developers benefit from using PVS-Studio analyzer? What errors and optimization opportunities could it help uncover? Find the answers to these questions in our article.
News
Join the .NET & C# Teams at Microsoft Build 2025
Microsoft has announced their annual Microsoft Build 2025 conference. It will be held May 19-22. As usual, the talks will cover .NET: C#, .NET Aspire, .NET MAUI, ASP.NET Core, and more.
AutoMapper and MediatR Going Commercial
The owner of AutoMapper and MediatR projects has announced that the next versions of the libraries will require a paid license for commercial use.
The authors of the MassTransit project have announced that, starting with MassTransit v9, the project is transitioning to a commercial licensing model. They believe that this change will ensure long-term stability and better support for enterprise needs. However, MassTransit v8 remains an open-source project.
Introducing support for SLNX, a new, simpler solution file format in the .NET CLI
Microsoft has added support for the SLNX solution file when working with the .NET CLI. Starting with .NET SDK 9.0.200, the .NET CLI supports creating and working with SLNX files. Experimental support for this format had previously been introduced in Visual Studio 2022 and JetBrains Rider. You can read more about the new solution file format in the article New, Simpler Solution File Format.
New versions
The new version of Rider 2025.1 introduces easier codebase navigation, an updated JetBrains AI Assistant, support for C# 14 Preview features, improved debugging, updates for game developers, and more.
PVS-Studio 7.36 has been released. We've featured an extended user annotation mechanism. Now, you can also mark up code with annotations that go beyond taint analysis. For example, you can indicate that a method can return null
, that its return value should be used, that an argument should not be null
, and much more.
We've also introduced new diagnostic rules:
- V3218. Loop condition may be incorrect due to an off-by-one error.
- V3219. The variable was changed after it was captured in a LINQ method with deferred execution. The original value will not be used when the method is executed.
- V3220. The result of the LINQ method with deferred execution is never used. The method will not be executed.
- V3221. Modifying a collection during its enumeration will lead to an exception.
- V5629. OWASP. Code contains invisible characters that may alter its logic. Consider enabling the display of invisible characters in the code editor.
You can visit this page to get a trial key and try the latest analyzer version.
Thank you for reading! See you soon! Feel free to share your thoughts and findings with us!
Top comments (0)