HomeWinBuzzer NewsMicrosoft Releases ASP.NET Core RC2

Microsoft Releases ASP.NET Core RC2

-

The newly released ASP.NET Core RC2 replaces ASP.NET 5 RC1 with a new branding and a more efficient way of running core apps and hosting libraries.

has made ASP.NET Core RC2 available today, the company announced in an official post to detail the release. The post says that there have been numerous improvements made over ASP.NET 5 RC1, with the updates allowing greater compatibility with more .NET frameworks.

The release contains the RC2 of the .NET Core runtime and libraries. These libraries are everything that ends up in your ‘bin' folder when you deploy an application. The tooling included (command-line tools, project tools, and Visual Studio tools) has been declared as a preview 1 release. This change allows those developers who are comfortable with using the runtime to move forward with their projects while the ASP.NET Core tools are completed.

The company says the way in which ASP.NET Core application is run in RC2 is different compared to the RC1 application. In RC1 an application ASP.NET hosting libraries was run by DNX toolchain to execute Startup.cs, but in RC2 the code is in a Program.co, allowing a single .NET toolchain to be used for ASP.NET Core apps and ASP.NET Hosting libraries.

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

IIS support is also integrated into ASP.NET Core RC2, a web server that utilizes ASP.NET Core Module to configure launching and hosting applications. Microsoft says RC2 will be rolled out to support Azure Web Applications, with that feature arriving next week.

SourceMSDN
Luke Jones
Luke Jones
Luke has been writing about all things tech for more than five years. He is following Microsoft closely to bring you the latest news about Windows, Office, Azure, Skype, HoloLens and all the rest of their products.

Recent News