News

.NET MAUI, ASP.NET Core Polished in First Release Candidate for .NET 9

Microsoft shipped the first release candidate for .NET 9, which is nearing feature completeness and production readiness in advance of its November debut.

As a release candidate, the new release doesn't introduce any new major features or functionality, but rather, as the release notes for .NET MAUI say, "This release is focused on quality, housekeeping, and resolving issues to stabilize the impending GA release."

For example, a major highlight of .NET MAUI in .NET 9 RC1 is simply the ability to "Justify" -- or horizontally align -- text in Labels.

Justifying Label Text
[Click on image for larger view.] Justifying Label Text (source: Microsoft).

Other work focused on quality improvements for .NET for Android and .NET for iOS.

ASP.NET Core Updates
Here, tweaks included improvements to SignalR distributed tracing, which now includes these capabilities:

  • .NET SignalR client has an ActivitySource named "Microsoft.AspNetCore.SignalR.Client." Hub invocations now create a client span. Note that other SignalR clients, such as the JavaScript client, don't support tracing. This feature will be added to more clients in future releases.
  • Hub invocations from the client to the server now support context propagation. Propagating the trace context enables true distributed tracing. It's now possible to see invocations flow from the client to the server and back.
  • Other tweaks for ASP.NET Core in .NET 9 RC1 include:

    • Keep-alive timeout for WebSockets: The WebSockets middleware can now be configured with keep-alive timeouts.
    • Keyed DI in middleware: Middleware now supports Keyed DI in both the constructor and the Invoke/InvokeAsync method.
    • Override InputNumber type attribute: The InputNumber component now supports overriding the type attribute. For example, you can specify type="range" to create a range input that supports model binding and form validation.
    • Trust the ASP.NET Core HTTPS development certificate on Linux: On Ubuntu and Fedora based Linux distros, dotnet dev-certs https --trust will now configure ASP.NET Core HTTPS development certificate as a trusted certificate for Chromium (Edge, Chrome, Chromium and so on) and Mozilla (Firefox and so on) browsers, as well as for use with .NET APIs (HttpClient and so on). Previously, --trust only worked on Windows and macOS. Certificate trust is applied per-user.

    More minor work done on libraries, the SDK and more is explained in the .NET 9 RC 1 #9496 discussion on GitHub.

    About the Author

    David Ramel is an editor and writer for Converge360.

    comments powered by Disqus

    Featured

    • Microsoft Eases Integration with Semantic Kernel AI SDK

      The basic idea is to provide unified API abstractions, especially for idiomatic C# code, to help platform developers and others work with any provider with standard implementations for caching, telemetry, tool calling and other common tasks.

    • Final .NET 9 Preview Ships with Go-Live License

      Visual Studio developers can now download the SDK for .NET 9 Release Candidate 2 with a go-live license, meaning devs get Microsoft support for production applications even before the framework reaches general availability next month.

    • Upcycle Your Old Laptops into a Kubernetes Cluster

      Learn about Windows-to-Linux conversions and how to break and fix cloud containers -- all while helping to save the world from e-waste with some "sheer geeky fun."

    • Visual Studio's Future: Live Help to 'AI-ify Your App'

      Visual Studio guru Mads Kristensen provided a peek into the IDE's AI future, explaining how while in live-coding it will identify opportunities for your own app to use AI to your advantage.

    Subscribe on YouTube