Microsoft today released.NET Core 2.0 version, Belonging to a very large version of the iteration.
.NET Core 2.0 includes some of the improvements that make .NET Core easier to use and enhance its platform capabilities. Highlights are as follows:
Major performance improvements in the runtime and framework
Implements.NET Standard 2.0
6 newPlatforms supported, Including Debian Stretch, SUSE Linux Enterprise Server 12 SP2, and macOS High Sierra.
.NET Core and .NET Standard projects can reference .NET Framework NuGet packages and projects.
The .NET Core SDK can be built from source with theSource-build repoThe
Live Unit Testing supports .NET Core
Code navigation improvements
C # Azure Functions support in the box
CI / CD support for containers
The main update, including the two key components of the Runtime (CoreCLR) and Framework Libraries (CoreFX, framework library) for a complete performance optimization, we can see, process management, JIT compiler and server system experience will be better The
At the same time, the introduction of. NET Standard 2.0, making the number of APIs available to developers more than doubled. In addition, Microsoft also stressed that. NET Core 2.0 has been used to deploy Azure Web applications.
More details are availableRelease NotesThe
.NET Standard 2.0 release, increasing API scope
The .NET Standard 2.0 specification is now complete and supports the following platforms:
.NET Framework 4.6.1
.NET Core 2.0
UWP version is coming soon (expected later this year)
.NET Standard 2.0 has greatly increased the API scope based on the .NET Standard 1.X, which means that it is easier to migrate existing code from the .NET Framework to .NET Standard. It also adds a compatibility pattern that references existing .NET Framework binaries in .NET Standard.
For more details and content please consultRelease NotesThe
ASP.NET Core 2.0 release, the introduction of Razor Pages coding example
The ASP.NET team announced the release of ASP.NET Core 2.0, which is compatible with .NET Core 2.0, supports Visual Studio 2017 15.3, and introduces the new Razor Pages user interface design paradigm.
For a complete list of updates, you can readUpdate logThe
The latest SDK and tools are available fromHttps://dot.net/coredownload.
ASP.NET Core 2.0 adds many new features to make Web applications build and monitor more easily and improve performance.
Update the project to ASP.NET Core 2.0
ASP.NET Core 2.0 runs on .NET Framework 4.6.1 and .NET Core 2.0, so version 1.x .NET Core needs to update the target framework in the project to netcoreapp2.0.Details
This new coding paradigm is designed to make writing page-based scenes easier than the current model-view-controller architecture. Razor Pages is a page-first structure that allows you to focus on the user interface and simplify the server-side experience by writing PageModel objects.Details
In addition, the Razor engine supports C # 7.1, simplifies application host configuration, provides performance analysis, error reporting, and diagnostic integration improvements.Release NotesThe
Entity Framework Core 2.0 official release
The official version of the Entity Framework Core 2.0 has been released as a lightweight, extensible, and cross-platform version of the Entity Framework, which is the .NET Object / Relational Mapping (O / RM) framework.
.NET Standard 2.0
Improved LINQ translation
Like query operator
Owned entities and Table Splitting
Global query filters
String interpolation in raw SQL methods
Please refer to the details and use of the detailsRelease NotesThe
It is worth mentioning that today, Microsoft also released Visual Studio 2017 v15.3 and Visual Studio for Mac v7.1.
Visual Studio 2017 version 15.3
This version includes more than 1700 improvements, focusing on improvements in usability, especially in low-vision and no-vision mode using Visual Studio 2017 feel is particularly evident.
Debugging is easier to use
VS editor text modification will allow developers to understand a series of specific features on the code
Fix reliability issues to improve performance
Azure Functions support
Broad Azure login support
Container support for improvement
Built-in continuous delivery tool
Visual Studio for Mac version 7.1
Visual Studio for Mac 7.1 adds support for .NET Core 2.0, which also creates .NET Standard 2.0 in the project to share more code across projects. In addition, it includes many reliability improvements, reduced memory footprint, improved performance, and reduced crashes.Details