Welcome to the eighth part of our digest on news and events in the .NET world! This time we'll cover the highly anticipated .NET 10 preview 4 and 5, the new dotnet run app.cs command, and lots of great articles. 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!
Today's digest covers .NET 10 previews 4 and 5, a new command for running a single file, AI improvements in Visual Studio, and lots of exciting articles.
Top news
.NET 10 Preview 4 is now available!
.NET 10 Preview 5 is now available!
The .NET team stays true to itself and continues to release preview versions of .NET 10. Since the last .NET Digest, .NET 10 Preview 4 and .NET 10 Preview 5 have been released. The latest changes include the addition of new APIs to libraries and platforms such as ASP.NET Core, .NET MAUI, Entity Framework Core, and others. However, some useful general additions have also been introduced:
- the option to run individual files using the
dotnet run
command has been added; - the option to definite custom implementations of compound assignment operators has been added.
Articles
Accelerate Your .NET Upgrades with GitHub Copilot
Microsoft has added a feature for migrating to newer versions of .NET using GitHub Copilot. According to the article, GitHub Copilot will act as an intelligent assistant by creating an update plan and updating projects step by step. If any issues arise, it will ask the user for help.
ReSharper Comes to Microsoft Visual Studio Code: Public Preview Now Open
JetBrains AI Assistant – Now in Visual Studio Code
ReSharper and JetBrains AI Assistant are now available in Visual Studio Code. Only the preview versions are currently offered.
Announcing dotnet run app.cs – A simpler way to start with C# and .NET 10
.NET 10 Preview 4 has introduced a feature to directly run a C# file using the dotnet run app.cs
command. Users no longer need a project file to run a simple script or quick experiment.
Series: Exploring the .NET 10 preview
Andrew Lock has started a series of articles that cover changes and new features of .NET 10. Two articles have been released so far:
- Exploring the features of dotnet run app.cs. The article describes a new feature of running a single C# file without creating a project.
- Behind the scenes of dotnet run app.cs. The author explores the feature of running a C# file in the context of its implementation in .NET.
VS Code Goes Transparent as Open-Source AI Editor
Microsoft announced its plans to transform Visual Studio Code into an open-source AI development environment. Specifically, the company revealed the GitHub Copilot Chat extension is now open source on GitHub under the MIT license.
Next edit suggestions available in Visual Studio
GitHub Copilot code completion is now available in Visual Studio 2022 17.14. Microsoft showcases this technology through various examples. For instance, if a user needs to convert a 2D Point class to a 3D Point class. After renaming it, Visual Studio will automatically suggest adding a new dimension (Z) to the class and updating the methods that were originally written with two dimensions in mind.
"ZLinq", a Zero-Allocation LINQ Library for .NET
Looking for fast LINQ without additional allocations? Then this article is for you! The author explains what sets their library apart from similar ones and why it's better. Of course, the article also includes benchmarks that compare the library to standard LINQ.
News
Celebrating 50 Million Developers: The Journey of Visual Studio and Visual Studio Code
Every month, 50 million devs actively use Visual Studio and Visual Studio Code. Are you one of them?
Releases
ReSharper and Rider 2025.1.3: Important Updates Released
The new Rider 2025.1.3 release introduces support for SQL and NoSQL languages. Other than that, there are no new features, but the update includes numerous fixes and improvements to existing functionality.
PVS-Studio 7.37: enhanced taint analysis, MISRA version selection, SLNX project support, and more
PVS-Studio 7.37 has been released. This release includes: the extended taint analysis mechanism, the capability to select the MISRA standard version, support for analyzing SLNX-format projects via MSBuild, and many other updates!
New C# diagnostic rules:
- V5630. Possible cookie injection. Potentially tainted data is used to create a cookie.
- V3222. Potential resource leak. An inner IDisposable object might remain non-disposed if the constructor of the outer object throws an exception.
- V3223. Inconsistent use of a potentially shared variable with and without a lock can lead to a data race.
You can visit this page to get a trial key and try the latest version of the analyzer.
Thank you for reading! See you soon! Feel free to share your thoughts and findings with us!
Top comments (0)