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!

Project.json

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:

https://weblog.west-wind.com/posts/2016/Jun/27/Upgrading-to-ASPNET-Core-RTM-from-RC2

Good luck converting!




Application Name WilderBlog Environment Name Production
Application Ver 1.1.0.0 Runtime Framework .NETCoreApp,Version=v1.1
App Path D:\home\site\wwwroot Runtime Version .NET Core 4.6.25009.03
Operating System Microsoft Windows 6.2.9200 Runtime Arch X86