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

  • Cloud-Focused .NET Aspire 9.1 Released

    Along with .NET 10 Preview 1, Microsoft released.NET Aspire 9.1, the latest update to its opinionated, cloud-ready stack for building resilient, observable, and configurable cloud-native applications with .NET.

  • Microsoft Ships First .NET 10 Preview

    Microsoft shipped .NET 10 Preview 1, introducing a raft of improvements and fixes across performance, libraries, and the developer experience.

  • C# Dev Kit Previews .NET Aspire Orchestration

    Microsoft's dev team has been busy updating the C# Dev Kit, a Visual Studio Code extension that enhances the C# development experience by providing tools for managing, debugging, and editing C# projects.

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

Subscribe on YouTube

Upcoming Training Events