News

.NET Core, ASP.NET Core RC2 Available This Week

New updates mainly fall into the performance and reliability categories, but the .NET engineering teams also inlcude an update to the .NET Core SDK, dubbed 'Preview 1.'

Secondary previews of ASP.NET Core 1.0 and .NET Core 1.0 are being released this week by Microsoft's .NET engineering team. RC2 versions is mainly polishing up of performance and reliability issues, but Microsoft says that these versions are live and production-capable.

"You can use it to build ASP.NET Core, console apps and class libraries for Windows, OS X and Linux," writes Microsoft's Rich Lander, in a blog post. "RC2 is a major update from the November RC1 release, including new APIs, performance and reliability improvements and a new set of tools."

Some of the polish in .NET Core RC2 includes more a rollup of Linux platform support. More recently, Debian 8.2 support was added, but it also supports Ubuntu 14.04, Red Hat Enterprise Linux 7.2, and Centos 7.1. With Microsoft's tighter partnership, .NET Core RC2 will be available through Red Hat's software collection resource.

.NET Core RC2 also includes a number of improvements, such as a new dotnet tool, which is a replacement for the dnx and dnu tools that were available in RC1; improvements to the RyuJIT just in time compiler; ability to do garbage collection on Unix OSes in the background; and a new runtime configuration approach, wherein runtime configuration files store app dependency info.

A preview of the .NET Core SDK is also being made available, which developers can use on Windows, Linux, and OS X, and Docker containers. Lander notes that is being tagged as a Preview 1 rather than an RC2, since it "includes enough software to build an app," but not enough changes that push it into release candidate status. One addition is a telemetry feature, which is turned on by default and collects and passes data anonymously back to the team, which Microsoft publishes in an aggregated form from all sources. Naturally, the telemetry feature can be switched off.

Microsoft's Jeffrey Fritz, in another blog, details many of the feature additions to ASP.NET Core 1.0 RC2, which includes a key addition: .NET CLI. "This tool replaces the dnvm, dnx, and dnu utilities with a single tool that handles the responsibilities of these tools," he explains. He also notes that ASP.NET Core RC2 now runs as a .NET Core Console app rather than as a class library.

"As of RC2 an ASP.NET Core application is a .NET Core Console application that calls into ASP.NET specific libraries," writes Fritz. "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."

Later this week, Fritz said that ASP.NET Core RC2 will be available for use in Azure Web applications. He links to a number of resources for migrating to RC2 at the end of his post.

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube