AvaloniaUI IoT LED Bar sample
This sample shows how to control a LED bar using your Raspberry Pi's GPIO port.
I have used the components from a very nice starter kit by Freenove. You can buy the kits here. Personally, I used the Super Starter Kit. The documentation and tutorials are very good, it's cheap and contains lots of components.
After you've connected every component as shown in the diagram, deploy your application to the Raspberry Pi and run the LedBarTest executable file.