News

.NET 6 Preview 4 Ships 'Ready for Real-World Testing'

Many features in the just-shipped .NET 6 Preview 4 are close to being in final form, Microsoft says, making it "ready for real world testing if you haven't yet tried .NET 6 in your environment."

That doesn't mean it's ready for production use, though, as "go live" builds for that aren't expected until August, ahead of a newly finalized Nov. 9 GA release date. At that time, Microsoft's massive effort to unify all .NET components under one umbrella offering will reach culmination. That unification effort was originally scheduled for .NET 5 but Microsoft missed that November 2020 target date because of the COVID-19 pandemic and other factors.

The .NET 5 unification effort was announced in May 2019, when Microsoft's Richard Lander said, "There will be just one .NET going forward, and you will be able to use it to target Windows, Linux, macOS, iOS, Android, tvOS, watchOS and WebAssembly and more."

Later, Lander explained more with GA release of .NET 5: "As part of .NET 5.0 and 6.0, we are unifying .NET into a single product experience, while enabling you to pick just the parts of the .NET platform that you want to use. If you want to target Mobile and not WebAssembly, you don't need to download the WebAssembly tools, and vice versa. Same with ASP.NET Core and WPF. You'll also have a much easier way to acquire all the .NET tools and build and runtime packs that you need from the command line. We're enabling a package manager experience (including using existing package managers) for .NET platform components. That will be great for many scenarios. Quick construction of a development environment and CI/CD will probably be the biggest beneficiaries."

Now today (May 25) he expounded more on the effort as the Microsoft Build 2021 online conference got underway.

"We've talked a lot in past posts and at conferences about .NET unification yet it is missing from the themes," he said. "Platform unification is baked into everything we do and has no need for its own theme. One can think of it as being the one mega-theme above and beyond the ones that are listed. It is interleaved through multiple of the themes and is a basic assumption of the team going forward."

Themes of .NET
[Click on image for larger view.] Themes of .NET (source: Microsoft).

Those themes he's talking about refer to the Themes of .NET site that capsulizes the development objectives of .NET, with themes described as "A top-level/overarching objective that will span the project leases. A theme will often have an associated document describing those objectives."

Lander listed those themes along with one-line descriptions:

Turning to what's new in .NET 6 Preview 4, Lander's post led off with Hot Reload, which we covered today in this article: Hot Reload Hits .NET (Kinda).

Blazor Hot Reload in Animated Action
[Click on image for larger, animated GIF view.] New Hot Reload in Animated Action (source: Microsoft).

"Hot Reload is a new experience that enables you to make edits to your app's source code while it is running without needing to manually pause the app or hit a breakpoint. Hot Reload improves developer productivity by reducing the number of times you need to restart your running app," said Lander, program manager for the .NET team.

"With this release, Hot Reload works for many types of apps such as WPF, Windows Forms, WinUI, ASP.NET, Console Apps and other frameworks that are running on top of the CoreCLR runtime. We're also working to bring this technology to WebAssembly, iOS and Android apps that run on top of Mono, but this is still coming (in a later Preview)."

Other new features in Preview 4 include:

"We're well into the .NET 6 release at this point," Lander concluded. "While the final release in November still seems like a long way off, we're getting close to being done feature development. Now is a great time for feedback since the shape of the new features are now established and we're still in the active development phase so can readily act on that feedback."

More information on .NET 6 can be found in the Build presentation, .NET 6 deep dive; what's new and what's coming.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube