This article will walk through upgrading to .NET Core 3.0.
Overall, it was pretty smooth, but I did run into 3 big things...
Newtonsoft is depreciated.
First, have a plan ready for replacing Newtonsoft as it's been replaced. The new recommendation is System.Text.Json.
Second, if you want to continue to use MVC routing you need to add this to the Startup.cs => ConfigureServices function.
services.AddMvc(option => option.EnableEndpointRouting = false);
<aspNetCore processPath="dotnet" arguments=".\Website.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
Finally, I lost a lot of time on this good one. After building and deploying, I was having issues on my production server.
For some reason, this inprocess hosting model was added and seemed to screw everything up, I still want to see why that isn't working, but for now I've
switched it using a setting in the csproj file:
If this article helped you, or you have any thoughts on how to do this better, please click the Like button and/or leave a comment below.