Classic Path.DirectorySeparatorChar gotchas when moving from .NET Core on Windows to Linux

added by DotNetKicks
10/16/2020 3:39:15 AM


An important step in moving my blog to Azure was to consider getting this .NET app, now a .NET Core app, to run on Linux AND Windows. Being able to run on Linux and Windows would give me and others a wider choice of hosting, allow hosting in Linux Containers, and for me, save me money as Linux Hosting tends to be cheaper, even on Azure.