Sharing the code for the tutorial from my blog: https://stefanwick.com/2018/04/06/uwp-with-desktop-extension-part-1/
You will need the following setup to run these projects:
To Build/Deploy and Run the sample projects see the read.me for each individual project: