Due for a production release in November, the forthcoming framework emphasizes WebSocket API improvements and updates to the .NET MAUI VS Code extension. Credit: Olivier Le Moal - shutterstock.com Microsoft’s .NET 9 software development framework has reached the release candidate stage with featured enhancements to the WebSocket APIs. Additionally, the .NET MAUI Visual Studio Code extension has an added capability to horizontally align text. The first of two planned release candidates was announced September 11 and can be downloaded from dotnet.microsoft.com. It is expected as a production release in November. A library update adds APIs on ClientWebSocketOptions and WebSocketCreationOptions. These allow developers to opt in to sending WebSocket pings and aborting the connection if the peer does not respond in time. Previously, developers could specify a KeepAliveInterval to keep the connection from remaining idle, but there was no built-in mechanism to enforce the peer response. Also in the library space, the release candidate features ZLibCompressionOptions and BrotliCompressionOptions types to set the algorithm-specific compression level and compression strategy for users who need more fine-tuned settings than the existing CompressionLevel supports. New compression options are designed to allow for expanding options moving forward. In another library change, LogLevel.Trace events logged by HttpClientFactory no longer include header values by default. For .NET MAUI in .NET 9, the focus is to improve product quality, including expanding test coverage, end-to-end scenario testing, and bug fixing. These improvements were emphasized in the seven preview releases of .NET 9. The VS Code extension now features improvements to HorizontalTextAlignment.justify so that it horizontally aligns text in Labels. For ASP.NET Core, the RC bulletin notes that preview 6, from July 15, added initial support for SignalR distributed tracing. RC1 improves signal tracing with the SignalR client having an ActivitySource named Microsoft.AspNetCore.SignalR.Client. Hub invocations now create a client span. Also, hub invocations from the client to the server now support context propagation. Propagating the trace context enables true distributed tracing, Microsoft said. It is possible now to see invocations flow from the client to the server and back. .NET 9 also adds a dotnet workload history command to the .NET SDK. This command shows a history of workload installations or modifications for a given .NET SDK installation. The history includes versions of the workloads installed and when they were installed. The feature is intended to help developers understand the drift in workload installations over time and help with making informed decisions about which workload versions to set for an installation. .NET 9 was preceded by .NET 8, which arrived last November. That release emphasized dynamic memory limits and JSON enhancements. Related content feature What is Rust? Safe, fast, and easy software development Unlike most programming languages, Rust doesn't make you choose between speed, safety, and ease of use. Find out how Rust delivers better code with fewer compromises, and a few downsides to consider before learning Rust. By Serdar Yegulalp Nov 20, 2024 11 mins Rust Programming Languages Software Development how-to Kotlin for Java developers: Classes and coroutines Kotlin was designed to bring more flexibility and flow to programming in the JVM. Here's an in-depth look at how Kotlin makes working with classes and objects easier and introduces coroutines to modernize concurrency. By Matthew Tyson Nov 20, 2024 9 mins Java Kotlin Programming Languages analysis Azure AI Foundry tools for changes in AI applications Microsoft’s launch of Azure AI Foundry at Ignite 2024 signals a welcome shift from chatbots to agents and to using AI for business process automation. By Simon Bisson Nov 20, 2024 7 mins Microsoft Azure Generative AI Development Tools news Microsoft unveils imaging APIs for Windows Copilot Runtime Generative AI-backed APIs will allow developers to build image super resolution, image segmentation, object erase, and OCR capabilities into Windows applications. By Paul Krill Nov 19, 2024 2 mins Generative AI APIs Development Libraries and Frameworks Resources Videos