Converting ASP.NET Core 1.0 RC2 to RTM Bits
If 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!