====== .NET Blazor Demonstration ====== Blazor allows both client and server to be programmed almost entirely in C#. The [[https://docs.microsoft.com/en-us/dotnet/api/system.device.gpio|System.Devices.Gpio]] namespace provides just about everything one would need to do IO on the ComfilePi. Blazor also includes support for real-time web applications that can be viewed and interacted with from multiple local or remote clients. The following video demonstrates a project running on the ComfilePi, controlling a [[:cpio:cp-io22-a4-2:index|CP-IO22-A4-2]] IO board (mounted on the rear of the ComfilePi). The application, running on the ComfilePi to the right can be viewed and interacted with from the ComfilePi itself, a development PC, or even a smartphone, in real-time. {{ :comfilepi:dotnet_core_blazor.mp4?720x405 }}
A .NET real-time web application running on the ComfilePi
[[https://github.com/COMFILE-Technology/ComfileTech.ComfilePi.CP_IO22_A4_2.Demo|Download the source Code]] for the application demonstrated in the video above. See also the [[https://learn.microsoft.com/en-us/dotnet/api/?view=iot-dotnet-latest|.NET IoT Libraries API Reference]]. [[..:remote_debugger:index|Back]]