home.social

#net11 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #net11, aggregated by home.social.

  1. .NET 11 Preview 2 is now available!

    The second preview of the upcoming .NET version, .NET 11, is available as of March 10th, 2026. The official announcement blog is available, and it gives you some of the most striking changes as of Preview 2.

    Read the official announcement

    The following changes to the preview were made since the last preview:

    • Generic GetTypeInfo for System.Text.Json: The GetTypeInfo() and TryGetTypeInfo() methods have earned their own generic variants, which allows you to return a strongly-typed metadata directly without having to go through a process of casting to the appropriate type.
    • Tar Archive Format Selection: When creating TAR archives, you can now specify one of the four different archive formats: GNU, Ustar, Pax, and V7, to achieve maximum compatibility across tools and environments.
    • Smaller SDK installers on Linux and macOS: New strategies have been employed to reduce the size of the SDK installers for Linux and macOS systems, thus reducing the overall size of the installer up to 26.0%, by introducing symbolic links to deduplicate assemblies.
    • SDK container images are up to 17% smaller: As for container deployments, the above change has resulted in the SDK container images having their size reduced up to 17.1%.
    • Overload resolution caching: For repeated method calls in F# applications, you can now benefit from improved performance by caching the overload resolution results automatically in the first call.
    • #elif preprocessor directive: F# now earns a new preprocessor directive, which eliminates the need of the nested #if...#else...#endif statements.
    • OpenAPI 3.2.0 support (Breaking Change): .NET 11 now supports OpenAPI version 3.2.0, with breaking changes that are needed for web applications using this library to function properly.
    • .NET Web Worker project template: The new project template has been introduced in this preview to allow you to create .NET applications in the Web Worker to ensure maximum Blazor UI responsiveness during heavy operations.

    For other changes, consult the above announcement link. Please note that this preview version is not ready for production, and might introduce bugs in your application.

    #Net #Net11 #dotnet #news #Tech #Technology #update