Home > News content

ASP.NET Core 2 Preview release

via:博客园     time:2017/5/23 12:00:37     readed:709

English Original:ASP.NET Core 2 Preview Released

ASP.NET Core 2 Preview with .NET Core 2 PreviewreleaseAnd togetherreleaseThe Developers can now see the major version of the .NET Standard 2.0 code.

New features in ASP.NET Core 2 include meta-packages, new Web Host default configuration, simplified logging, and improved ASP.NET Core Identity system to change the authentication provider. New features meta-packages provide new ways to set items, that is, just addMicrosoft.AspNetCore.AllPackage to start the project, the project can be automatically cut after the unused sub-components. New features are based on some performance improvements. According to Microsoft, compared with ASP.NET 1.x, improved Web applications generated faster, faster to run, and take up less disk space.

At the Build 2017 conference, Microsoft's Daniel Roth and Scott Hanselman were on site for the first timeShowASP.NET Core 2 for developers to provide the function. In the development of ASP.NET Core process, the development team trying to achieve four main objectives:

  • The developer is more friendly, remove some of the preparation of ASP.NET code so that you may run into the "paper-cut behavior" (that is frustrating behavior).
  • Extend App Model.
  • Improve performance.
  • Strengthen the integration with Azure.

ASP.NET Core 2 added a pairRazor pagesupport. Razor provides developers with a way to start building Web applications without the need for an overall MVC application architecture. Since the Razor page is built in view of MVC, this approach facilitates the evolving application and is then translated into the appropriate MVC solution. Razor page used@pageThe instruction directly processes the request without the need for a corresponding controller.

If the developer wants to use ASP.NET Core 2 in Visual Studio 2017, you need to install the latest version of VS (that is, 15.3 preview). ASP.NET Core 2 applications can run from the Windows command line, without Visual Studio, and on Mac and Linux. Current ASP.NET Core 2provideBinary installation files for these three platforms.

Remember, ASP.NET Core 2 works with the VS2017 15.2 currently used by the developer. GitHub alreadyprovideA complete release note. It should be noted that ASP.NET Core 2 applicationsfutureWill be available on Mono, .NET Core and o.NET Framework.

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments