Now you can port code from .Net Framework to .Net Core

Posted on 20-11-2017 , by: admin , in , 0 Comments

Microsoft is looking to help developers move code from the Windows-oriented .Net Framework to cross-platform .Net Core via extended API access. But whether developers should actually make the move depends on their affinity for Windows.

Microsoft has made available a beta of Windows Compatibility Pack, adding access to APIs previously available just to .Net Framework. As a result, .Net Core developers gain access to an additional 20,000 APIs. You can get Windows Compatibility Kit via a NuGet package.

.Net Framework emphasizes Windows desktop development; the open source .Net Core is optimized for building web applications for Windows, Linux, and MacOS.

There are reasons to port to .Net Core as well as reasons not to do so. On the plus side, .Net Core enables web applications that can scale and can run on Linux; the addition of the .Net Framework APIs makes .Net Core more useful. On the minus side, developers who want to use Microsoft desktop technologies such as WinForms, Windows Presentation Foundation, or ASP.Net should stick with .Net Framework.