Microsoft’s .NET 5 has arrived
.NET 5 – a new platform that unifies the .NET development experience across desktop, web, mobile, cloud, and IoT devices – has just been released.
.NET 5 replaces .NET Framework, .NET Core and Xamarin to provide APIs, libraries and runtime to create web and mobile applications.
With the unified platform, developers will no longer need to choose between .NET Core, .NET Framework and Mono to create applications.
There are new .NET APIs, language features, and runtime capabilities to boost the framework in several ways, including expanding the .NET capabilities by taking the best of .NET Framework, .NET Core, Mono, and Xamarin.
Retained from .NET Core
Some the best functionalities incorporated from .NET Core include:
- Cross-platform implementation with any device
- Supports all key platform features for .NET core, Xamarin, .NET Framework
- Open source and community-oriented on GitHub
- 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, and WPF on Windows
- Side-by-side installation
- Smarter deployment and packages
- Small project files (SDK-style)
With the new framework, devs can create a product from a single code-base, in which developers could work and expand on together and enhance overall scenarios.
What's new in .NET 5
- You will have more choice on runtime experiences
- Java interoperability will be available on all platforms
- Objective-C and Swift interoperability will be supported on multiple operating systems
- CoreFX will be extended to support static compilation of .NET (ahead-of-time – AOT), smaller footprints and support for more operating systems.
Great .NET 5 features to highlight
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.
Mobile development with .NET 5
.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.
Cloud development with .NET 5
Azure app development will be 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.
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.
- Image from Microsoft dev blogs.
Read more about our work and development suite:
- Introducing .NET 5, Microsoft
- Microsoft announces .NET 5, Clarion Technologies
- Everything you need to know about .NET 5, Stackify
- Microsoft .NET 5 arrives with C# 9, F# 5, Reseller