.NET Core 3.0 Is Coming - Exciting Time Ahead For Windows Desktop Applications

.Net Core 3

You can find my all .NET Core posts here.

.NET Core 3 is coming

Microsoft has recently announced the teaser for .NET Core 3 and it is not any less exciting than a trailer for a blockbuster movie :)

.NET Core 3 will mainly focus on Windows desktop applications, specifically Windows Forms, Windows Presentation Framework (WPF), and UWP XAML. So if you are a desktop application lover, then an awesome time is on its way for you.

With .NET Core 3 onwards, we will be able to run the Windows application on .NET Core.

I have seen many StackOverflow questions asking about the support for Windows applications in .NET Core, but now we have the official news about this support in .NET Core.

Note that .NET Core 3 is not only about Windows and desktop applications. The web and the cloud features would be there as well but the Windows support is the cherry on the cake.

A bigger picture

.Net Core 3

 

As you can see above, Web, Data, AI/ML, Cross-platform are as they are currently in .NET Core which means .NET Core isn’t changing architecturally with this new version but apart from this, we have Windows Desktop packs which are nothing but the support for Windows application on .NET Core which will work on the Windows OS only.

Convert existing Desktop applications to .NET Core 3

It would be possible to convert your existing desktop application to .NET Core 3 in the future and this conversion would be straightforward.

If we talk about the big picture then the steps would be,

  • Target your existing desktop application to .NET Core 3 and recompile
  • Update all the project files to target .NET Core 3
  • No need to target the dependencies to .NETet Core 3 but there would be additional benefits if you do so

Paint desktop application is already being tested on .NET Core 3

We all love the Paint application and paint is already running on .NET Core 3 in Microsoft's lab. .Net team has converted the Paint to .NET Core without even touching its code by just using the WPF binaries.

As per the .NET team, Paint has shown faster startup along with other benefits while running on .NET Core.

Changes in csproj for .Net Core 3

We know that .NETCore has adopted SDK-based project structure which has many advantages like,

  • Neat and clean project files
  • Lesser code than before
  • Edit files without unloading
  • Multi-target support
  • PackageReference for referencing NuGet packages

You would be encouraged to change the project files to the newer SDK based structure for your Windows desktop application to work on .NET Core 3.

How the desktop applications will get benefits from .NET Core

There are many benefits of .NET Core in desktop applications,

  • Performance would be a key factor as the performance of the desktop applications would be increased with .NET Core
  • Easy to use or test a new version of .NET Core
  • Deployments are easier with the .NET Core
  • .NET Core CLI tools and SDK-style projects support and many more

The first version of .NET Core 3 would be available later this year and the final version is expected to arrive in 2019.

Let us wait for this awesome release.