Converting ASP.NET Core 1.0 RC2 to RTM Bits

officetoolsIf you’re like me, you’ve changed your projects from RC1 to RC2 only to find out that the RTM was coming quickly. Well we are here so we need some steps to convert projects.

Like other posts, I am going to list all the changes I found but there are likely more that I didn’t run into. Feel free to use the comment system to add more as you like!


Rename all the “1.0.0-rc2-final” references to just “1.0.0

Rename all the 1.0.0-rc2-* (or specific version numbers like Microsoft.NETCore.App) to simply 1.0.0 too

Rename all the preview 1 bits to preview 2 (1.0.0-preview1-final –> 1.0.0-preview2-final)

I found some small namespace changes and at least one API that is gone (UseRuntimeInfoPage) but overall minor changes. One thing that might not be obvious is that Json.NET has changed to do camel-case by default so you don’t need to use the CamelCasePropertyNamesContractResolver to get the behavior. It’s camel-case out of the box. If you were depending on the Pascal casing in your APIs, you’ll need to make a change that Rick Strahl has talked about in his RC2->RTM post. Look for the “De-Camelizing JSON in ASP.NET Core” section in his post found here:

Good luck converting!

Shawn Wildermuth
Author, Teacher, and Coach

My Courses

Wilder Minds Training
Vue.js by Example (New Lower Price)
Bootstrap 4 by Example (New Lower Price)
Intro to Font Awesome 5 (Free Course)
Building an API with ASP.NET Core (New Course)
Building a Web App with ASP.NET Core, MVC6, EF Core, Bootstrap and Angular (updated for 2.2)
Less: Getting Started (New)
Using Visual Studio Code for ASP.NET Core Projects
Implementing ASP.NET Web API

Application Name WilderBlog Environment Name Production
Application Ver v4.0.30319 Runtime Framework x86
App Path D:\home\site\wwwroot\ Runtime Version .NET Core 4.6.27817.01
Operating System Microsoft Windows 10.0.14393 Runtime Arch X86