ASP.NET Core Gotchas - No. 2

added by DotNetKicks
12/6/2017 2:13:21 PM

2 Kicks, 207 Views

Following on from my first gotcha that we hit yesterday, here is another one which caught us out at the same time. TL:DR; When using dotnet run (.NET Core 2.0), expect it to set some properties (including the port and environment) from launchSettings.json if it's included in the Properties folder!