As I found myself once again with the luxury of a bare machine, and having signed up for the FatSecret API , I thought I would combine those things to see if I could use Visual Studio Code to do something useful this time round. I eventually got the DLL built, with the major hurdle beings being a) the deprecation of the httputility class in favour of WebUtility for URLEncode (it’s not that these things are hard, it’s knowing the questions to ask when things you expect aren’t there), b) ignorance of the frameworkAssemblies option in the project.json file, c) ignorance of the configurations option in the same file. At the end of the night, I haven’t actually made a call yet, so although syntactically ok, it might yet be semantically nonsense. The detail is just in the screenshots without context other than the usual borders. The screenshots are just about in sequence.
This got me over the XDocument issue:
And this was really useful… but of course I found it once I had finished: