Posted by Anuraj on Wednesday, May 10, 2017 Reading time :2 minutes
This post is about new features of ASP.NET Core 2.0 Preview. Microsoft announced ASP.NET Core 2.0 Preview 1 at Build 2017. This post will introduce some ASP.NET 2.0 features.
If there are features you don’t need in your application, our new package trimming features will exclude those binaries in your published application output by default.
This adds Kestrel, IIS configuration, default configuration sources, logging providers, and the content root.
Live Unit Testing support for .NET Core - Live Unit Testing is a brand-new feature we introduced in Visual Studio 2017. It was not available in .NET Core when it introduced. Now you can reap the benefits of Live Unit Testing in .NET Core as well – get unit test coverage and pass/fail feedback, live in the code editor as you type code.
Visual Basic Support - Visual Basic is now a supported programming language choice to create .NET Core projects. Using Visual Basic you can create .NET Core console applications, and .NET Core and .NET Standard class libraries.
You can create new ASP.NET Core 2.0 projects in much the same way as you did with .NET Core 1.x. Simply select ASP.NET Core 2.0 in the dialog, as you can seen in the following screenshot.
You can change your existing .NET Core projects to .NET Core 2.0 using Visual Studio, also you can manually edit the CSProj file and change the 1.x to 2.0.
Happy Programming :)
What do you think? I would like to hear your thoughts, suggestions, and questions in the comments section below.