Microsoft today announced the availability of ASP.NET Core RC2 that features a number of updates to enhance compatibility with other .NET frameworks and an improved runtime. Also, with this release, Microsoft is rebranding ASP.NET 5 to ASP.NET Core.
When compared to the ASP.NET 5 RC1 release, RC2’s major change is the introduction of the .NET command-line interface. This tool replaces the dnvm, dnx, and dnu utilities with a single tool that handles the responsibilities of these tools. Get started by executing the command `dotnet` at a command-prompt.
As of RC2 an ASP.NET Core application is a .NET Core Console application that calls into ASP.NET specific libraries. What this means for ASP.NET Core apps is that the code that used to live in the ASP.NET Hosting libraries and automatically run your startup.cs now lives inside a Program.cs. This alignment means that a single .NET toolchain can be used for both .NET Core Console applications and ASP.NET Core applications. It also means that customers have more obvious control over the code that hosts and runs their ASP.NET Core app
Read about in detail here.