Very curious about the c# API, as I’ve been meaning to expand beyond Powershell. Any plans to make a video about it using this? Maybe a demo of an API written in Powershell that you then convert to c#?
You may have seen the docs here but the API included is actually a functional one that can get and restart dashboards.
Honestly, one shortcoming of this feature is that there isn’t any documentation of the actual PSU classes that you have access to so unless you feel like digging around with ILSpy, it might be hard to get something meaningful accomplished. That said, I’d love to hear some ideas for what you’d like to accomplish and I’d be happy to code up some examples.
For what I do in my environment, SQL CRUD and processing files (mostly just ingesting the JSON, dumping to a folder for a job to run later) would be great.
I’m definitely someone who “learns by doing”, but tends to need good solid examples to pick apart and figure out how it all comes together, which is why I like Powershell so much. I can take code and run it line by line and examine the outputs…
C# seems a bit daunting in that aspect, as it needs compiled and ran. At least to my knowledge I can’t just “run” pieces of it.