C# App hangs when BitmapDecoder.CreateAsync is called
Calling ASync functions from UI event handling routines/the main UI thread in C# turns out to require some basic knowledge to avoid getting into deadlocks. I sort of jumped in without doing much learning, so here were some of my learning resources as I made the inevitable mistakes:
Debugging tips:
C# and Universal Windows App file handling:
https://docs.microsoft.com/en-us/windows/uwp/get-started/fileio-learning-track
https://docs.microsoft.com/en-us/windows/uwp/files/file-access-permissions