Unifying the .Net Technologies with .NET 5

How many of you didn`t want to have .NET Framework, .NET, Core, and Xamarin/Mono into a single, unified platform to be able to build any type of application more quickly and effectively?

Well, Microsoft has a lot of good news for us. They promised to solve this issue and make your applications and development process better and easier by unifying different technologies in one framework: .NET 5 – “The future of. NET”

.Net 5 Features

One of the most exciting news is that we`ll have a single BCL (base class library) across all .NET 5 applications, and support for both native and web applications across multiple operating systems. Therefore, if you know C#, now, you can develop an application that can run anywhere from IoT to Cloud.

This makes one BCL handle all the app models such as:

  • ASP.NET Core
  • Entity Framework Core
  • Blazor
  • WinForms
  • WPF
  • Xamarin
  • ML.NET
  • etc.

With the last release: Preview 4 on May 19, Microsoft introduced the following new capabilities:

  • C# 9 support – with numerous features including Records, top-level statements, improved pattern matching, and much more.
  • F# 5 support.
  • Improved HTTP 1.1 and HTTP 2 performance.
  • Dynamic expansion of the internal generic dictionary to eliminate performance cliffs hit by generic code.
  • A pinned object heap to reduce heap fragmentation.
  • An improved call counting mechanism.
  • Single file applications based on a new single file publishing type that executes an application from a single binary.
  • etc…

However  ASP.NET Web Forms  and WCF are going to miss from the .NET 5 family. Microsoft recommended moving to Blazor and  gRPC as an alternative.

You will also need Visual Studio 2019 16.6 or later versions to use .NET 5.0. and to take into consideration that .NET 5.0 isn’t yet supported with Visual Studio for Mac.

The Advantages of .NET 5

This framework was written to overcome many of the problems of application development by unifying divergent frameworks, reducing code complexity,  significantly advancing cross-platform reach and lowering total cost of ownership of software and deployment.

A single platform that unifies the framework, runtimes, and developer toolsets into a single code base and extends from cloud to desktop to mobile and beyond (Xamarin, ASP.NET, IoT and desktop)

Even if it may affect a few enterprise customers who have their projects based on WCF and Web Forms, .Net 5 still offers to us, very good alternatives and can be the best choice for your next project.

Managed by open source community and supported by Microsoft., .Net 5, which is due for general availability November 10, 2020, is intended to impress us with Scalability, Reliability and High performance – A very promising future of .NET.

Published by

Leave a Reply