Development, Gaming, and Hacking
Brought to you by:
Matrix Tools
(1 / 62 Articles)
View Categories
This article will walk through upgrading to .NET Core 3.0.
Overall, it was pretty smooth, but I did run into 3 big things...
  1. Newtonsoft is depreciated.
    First, have a plan ready for replacing Newtonsoft as it's been replaced. The new recommendation is System.Text.Json.
  2. 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);
  3. Webconfig => hostingModel="inprocess"
    <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:

Permanent Link
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.

Likes: [0]

Comments: [0]

(if you'd like us to reply and/or show your gravatar image)