Paul Krill
Editor at Large

Microsoft unveils simpler .Net Core, standard .Net APIs

news
Aug 14, 20172 mins

Microsoft promises greater ease of use in .Net Core 2.0 and more interoperable APIs in .Net Standard 2.0 spec

microsoft cloud open source
Credit: Thinkstock

Microsoft’s .Net Core 2.0, an upgrade to the company’s open source, cross-platform implementation of .Net, is becoming available today. The new release includes improvements intended to make .Net Core easier to use. It also conforms to the .Net Standard 2.0 specification designed to facilitate code sharing among .Net Framework, .Net Core, and Xamarin.

The .Net Core framework can be used to build web applications and services that run on Windows, MacOS, or Linux. Ease of use improvements in .Net Core 2.0 include making the dotnet restore command (used to install project dependencies and other tasks) implicit for commands like run, build, and publish that require it.

Version 2.0 also introduces an opt-in mode providing basic globalization functionality, for localized user interfaces and regional data, across operating systems and languages. The .Net Core 2.0 runtime features profile-guided optimization, used by the C++ compiler to generate faster running code on Windows x86 and Linux x64 platforms. You can download .Net Core at this website.

The .Net Standard specification is an attempt to unify .Net and prevent fragmentation. It provides a specification that every .Net implementation has to support, enabling code-sharing across .Net variants including .Net Framework, .Net Core, Xamarin, Unity, and the Universal Windows Platform (UWP). (Support in UWP is due later this year.) Version 2.0 of the .Net Standard more than doubles the number of available APIs, bringing the total to 32,000. The additions make it easier to port existing code from one .Net implementation to another. 

Microsoft is also releasing the 2.0 versions of the ASP.Net Core development framework and the Entity Framework Core object-relational mapper. ASP.Net Core is a framework for cloud-based Internet-connected applications. ASP.Net 2.0 features the Razor Pages user interface design paradigm, which is geared to make coding of page-focused apps easier, along with built-in templates for the Angular and React JavaScript development tools. Entity Framework Core 2.0, meanwhile, improves LINQ (Language Integrated Query) translation with more efficient queries.

Finally, today Microsoft is also releasing updates to Visual Studio 2017 (version 15.3) and Visual Studio for Mac (version 7.1) to allow developers to work with .Net Core 2.0. Both new versions of the IDEs are being released today as well. Visual Studio Code also works with .Net Core 2.0.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author