Cheap ASP.NET Hosting Tutorial – How to Migrate from ASP.NET Core RC2 to RTM

Cheap ASP.NET Hosting Tutorial – How to Migrate from ASP.NET Core RC2 to RTM

CheapASPNETHostingReview.com | Best and cheap ASP.NET Core RC2 hosting. As you know NET Core 1.0 RTM was released which include ASP.NET Core 1.0 and Entity Framework Core 1.0. The links are to the official Microsoft announcement blogs. And today in this post I will talking about how to migrate from ASP.NET core RC2 to RTM. Check it out

rtm

Installation

Install instructions can be found at http://dot.net using the Download .NET Core button in the bottom center of the page or use this link to go directly to the install directions. If you are using Visual Studio 2015 then update 3 must be installed before installing .NET Core for Visual Studio which includes the RTM bits plus preview 2 of the related tooling.

After both installers are complete open a command prompt and run the command  dotnet version and verify the version is  1.0.0preview2003121.

Limited Edition !! Super Cheap ASP.NET Core 1.0 Hosting only $1

Global.json

Update the version in the sdk section.

Project.json

The following table can be used to find and replace a lot of the changes in this file.

RC2RTM
1.0.0-rc2-30027021.0.0
1.0.0-rc2-final1.0.0

The run time option for server GC was moved.

A new option is now included in the publish options for “Areas/**/Views”

Finally in the scripts section if you are not using NPM and Gulp then the following change should be made. It is my understanding the choice to remove NPM and Gulp by default was to speed up restores.

Here is the full file for reference with NPM left in.

Breaking Changes

A list of breaking changes for this release can be found here. The only one I hit was this issue which changes the JSON serializes to use camel case names by default. To restore the previous behavior making the following change in the  ConfigureServices function of the  Startup class.

Congratulations

Congratulations to .NET Core teams for hitting RTM! I know there has been some negative things said about the amount of churn in the RC phase of the project, but based on what I feel they made the right choice for the future of the platform.

Simpan

Simpan