During the Microsoft Build 2019, the Microsoft Team announced that .Net 5 is on its way out, and it would be arriving in 2020. This will be the next huge release after the .Net Framework latest version 4.8.
.Net Framework is 17 years old and there are millions of apps built on it, by using every chunk of the functionality that Microsoft has ever incorporated. The weight of all of these apps makes .Net Framework incredibly heavy. Hence, the scope to innovate the .Net Framework is diminishing. Further, .Net Core has turned up a few years ago. At the time, it appeared as a younger brother of the .Net framework to attract Linux and Mac users. The recent announcement about the arrival of .Net Core 3 promises to bridge the gap with the latest version of .Net Framework, empowering WPF, Windows Form and Entity Framework 6.
Alongside these two versions of .Net - .Net Framework and .Net Core, Microsoft made a huge announcement about the release of .Net 5 – the future of .Net. The announcement added that there would be .Net 5 that is Opensource and Cross-platform, which will replace .Net Framework, .Net Core and Xamarin with a single unified platform called .Net 5 Framework.
As shown above, .Net 5 will be powered with the best features of the .Net Framework, .Net Core, Mono, and Xamarin to provide APIs, libraries, and run-time to create apps for Web, Windows, Mobile & IoT devices. The main goal of .Net 5 is to empower unified .Net Client Application projects to create deliverables for various platforms including Windows, UNIX, Linux, Legacy Windows, iOS, Driod, HTML5, and Macintosh.
With the announcement of .Net 5, we realized that Microsoft is skipping .Net 4 to avoid mix-up with the .Net Framework versions. Then the .Net 5 will be accompanied by the .Net versions like .Net 6.0, .Net 7.0 & .Net 8.0. This will not happen overnight. Microsoft .Net team has announced the timeline for these versions as shown below:
.Net 5 Moves ahead with .Net Core
.Net 5 will offer everything that you would expect from the .Net core while making it suitable for Mobile and IoT platform development. With these new updates, developers will no longer need to choose between .Net Core, .Net Framework and Mono, based on which platform they’re developing their applications.
As the first step in that direction, the .Net 5 ensures to incorporate the best of .Net core functionalities:
- Cross-platform implementation with any device
- Supports all key platform features for .Net core, Xamarin, .Net Framework
- Open Source & Community-Oriented
- Fast, Scalable, and high performance
- Support with future updates to Visual Studio Code, Visual Studio 2019, Command Line Interface and Visual Studio for Mac.
- Support for platform-specific features like Windows Forms, & WPF on Windows
- Side-by-side installation
- Smarter Deployment & packages
- Small Project Files
Besides these features, .Net 5 promises the three new major supports for developers:
These updates would ensure a single unified .Net framework and runtime for everything, including Mac, Web, Mobile, IoT, Gaming, Data Science, Machine Learning and Cloud.
Other Vital Features to Highlight
As Microsoft resolves the kinks on the latest version of .Net, the .Net 5 will feature new .Net APIs, desktop development, runtime capabilities, language features and many more.
1. Desktop Development with .Net 5
Microsoft is fetching Windows Desktop Packs to support desktop apps, which works only on Windows. .Net 5 will come up with all key desktop development functionalities and libraries. Xamarin, WPF, Windows Forms and UWP (Universal Windows Platform) are the four key desktop platforms. The porting of Windows desktop app into .Net doesn’t change the .Net Core architecture, but adds some additional benefits including Core Runtime & API Performance enhancement, and deployment flexibility. .Net 5 also supports some major sub-framework for desktop development like Entity Framework, GDI+, LINQ, and ADO.Net.
2. Mobile Development with .Net
.Net 5 will continue to build cross-platform mobile apps for Android, iOS, tvOS, macOS, and watchOS platforms using Xamarin. Xamarin is supported by the Mono runtime and it offers a set of programming languages, developers’ tools and libraries. Xamarin uses XAML as the major UI programming language and C# as the backend language.
3. Cloud Development with .NET 5
Azure app development will be one among the major functionalities of .Net 5. With the release of the latest version of .Net, developers will continue to develop software with Azure. Azure Cloud development encompasses a mix of tools and frameworks, including Web API, ASP.Net, Serverless computing, Azure databases, Docker containers, microservices, DevOps and more.
4. Game Development with .Net 5
.Net 5 and Visual Studio 2019 will support Unity, a vital part of .Net gaming to develop games for mobile, Xbox and other gaming platforms.
5. Runtime and Language with .Net 5
.Net 5 will provide the developers with the choice of runtimes between CoreCLR and Mono. CoreCLR is the .Net core runtime used for Windows desktop, IOT, machine learning, and Cloud applications. Mono is a well-known Cross-platform .Net implementation, an open source alternative to .Net frameworks. Both Mono and CoreCLR include many similarities and some valuable unique capabilities. Additionally, .Net 5 will come up with AoT(Ahead-of-Time) and JIT (Just-in-Time) compilation models. JIT has proven its enhanced performance for server/desktop workloads as well as the development environment. On the other hand, AoT possesses a small footprint, fast startup, and lower memory usage.
All these updates and features will make the .Net 5 the biggest version Microsoft has ever released. There are still some mysteries concerning how things will change with .Net 5 for developers. However, Microsoft receives feedback on the various updates it proposes, and we hope they will pave the best way ahead.