April 23rd, 2020

Announcing .NET 5.0 Preview 3

Rich Lander [MSFT]
Program Manager

Today, we’re releasing .NET 5.0 Preview 3. It contains a set of new features and performance improvements. We’re continuing to work on the bigger features that will define the 5.0 release. The .NET 5.0 Preview 1 post covers what we are planning on building for .NET 5.0. Please take a look at the post and the dotnet/designs repository and share any feedback you have. And, of course, please install Preview 3, and test your workloads with it.

You can download .NET 5.0 Preview 3, for Windows, macOS, and Linux:

ASP.NET Core and EF Core are also being released today.

You need to use Visual Studio 2019 16.6 to use .NET 5.0. Install the latest version of the C# extension, to use .NET 5.0 with Visual Studio Code. .NET 5.0 isn’t yet supported with Visual Studio for Mac.

Release notes:

Let’s look at some of the improvements in Preview 3.

Code quality improvements in RyuJIT

Every release includes a set of changes that improve the machine code that the JIT generates (we call this “code quality”). Better code quality means better application performance.

System.Text.Json improvements

.NET SDK Support for .NET Framework Assemblies

The .NET SDK will now auto-reference the Microsoft.NETFramework.ReferenceAssemblies NuGet package given a .NET Framework target framework in a project file. This change enables building .NET Framework projects on a machine without the required .NET Framework targeting pack installed. This improvement is specific to targeting packs, and doesn’t account for other dependencies that a project may have.

Closing

Please take a moment to try out Preview 3, possibly in a container, a VM. We’d like your feedback on the quality of the release. There is a lot more coming, over the next several months, leading up a November release.

Category
.NET

Author

Rich Lander [MSFT]
Program Manager

Richard Lander is a Principal Program Manager on the .NET Core team. He works on making .NET Core work great in memory-limited Docker containers, on ARM hardware like the Raspberry Pi, and enabling GPIO programming and IoT scenarios. He is part of the design team that defines new .NET runtime capabilities and features. He enjoys British rock and Doctor Who. He grew up in Canada and New Zealand.

22 comments

Discussion is closed. Login to edit/delete existing comments.

  • Clarke Bowers

    What is the plan for Windows.Devices in .NET5. I have not been able to find information on this value namespace’s future. There is support for GPIO, ADC, PWM and other devices within this namespace. It would be valuable to support this across platforms.

  • jinglian cui

    What about the plan of Xamarin in .Net5 ?

  • Jefferson Motta

    Will ASP.NET (now “classic”) that target .Net Framework 4.x will works with .NET 5???

    • Anthony Irwin

      The short answer is no.

      Microsoft has said from the very first .net 5 announcement that .net 5 is the current .net core rebranded to .net 5 as a clear sign to developers that it is the next .net and the one to be using moving forward. So Microsoft is skipping .net core 4.x and rebranding to .net 5 to show everyone it is the next major release of .net.

      The existing .net framework is for legacy...

      Read more
  • tom light

    Really looking forward to the new version. If I have a bit of feedback around the new dotnet new templates (specifically for F#) where’s the best place to go?

  • Malachi Burke

    ARM64 support – very awesome. Does your long term roadmap continue to include ARM64 support? We’re evaluating .NET Core usage for a long-term embedded Linux system

    • Hernan Martinez

      I’m dying to find out if .NET 5 will have WPF support out of the box on ARM64

      • Austin Harris

        FWIW if anything..

        Not quite what your asking for, but I've had similar issues with building cross platform UI. In the end I've started going down the Blazor WASM route. Not quite WPF, but at least you can do your Front-end work in C# and still be Linux and mac friendly. Browser rending performance is hardware accelerated, you just have to find a way to launch your browser window in a chrome-less mode if your going...

        Read more
      • Jack Bond

        It won't. An army of brain dead zombies compose .NET project management.

        After all, why could you possibly want a cross platform UI framework which would allow you to create app stores for MacOS and Linux?

        The math is really simple. Which would be better? Have your developers

        1) Waste millions of hours coding with a moronic framework like Electron?
        2) Remove Windows dependencies from WPF and provide a cross platform UI framework that would benefit EVERYONE?

        P.S. If...

        Read more
      • Troy Robinson

        Checkout something called Avalonia. It has what you want. If you don’t like that GTK#, if not that Eto.Forms

      • Tsahi

        You are saying “Remove Windows dependencies from WPF” as if that’s a day’s job. WFP is built on top of DirectX, and was designed as a Windows technology. removing the Windows dependency will probably require rewriting half of it.

  • theuserbl

    What happens with Mono after .NET 5?
    .NET 5 is the real successor of .net Core.
    .NET Framework will be discontinued.
    And what is with Mono? Is it then deprecated, too?

    In the picture, I have seen on a news side, it seems to be coexisting with .net 5
    https://www.heise.de/imgs/18/2/8/7/3/1/6/5/net5-prev2-c8b068c5bf13a1a8.png

    • Marina Sundström

      .NET 5 is about unifying .NET by sharing implementation and tools.

      Microsoft and the community have been working towards making Mono run the same implementation of the Framework Class Library as .NET Core.

      In the end, there will be two CLR implementations that share the same Framework Class Library.
      (Core)CLR is for desktop and cloud. Mono Runtime will be the one you use when building embedded and mobile applications with Xamarin.

      Read more
      • gc y

        Why to maintain two CLR? Why not combine them to one?

      • Charles Roddie

        Combining them into one is a very large task and not feasible by November this year.
        .Net 5 (CoreCLR+MonoVM both running the same CoreFX) represents a half-way point that took years of work.
        After .Net 5 I am sure they will continue to consolidate mono and coreclr until there is only one runtime.

  • Kelvin Mwenda

    Will file stream for SQL server be available in asp.net core in .net 5???

  • Patrick Deschênes

    About Swift interoperability in .NET 5, I was wondering what features are planned for .NET 5.

    I am asking the question because this topic got raised on the Swift forum lately and people there didn't seems to know what
    this .NET 5 Swift interoperability meant.

    For example :

    Read more
  • Rojan Gharibpour

    What is the status/plan on the Java layer?

  • Nick Ac

    Just wondering, any updates on the Java interop? Also, will it be able to target desktop VMs?