Hello
if you have more knowledge about C# than about ASP.Net, check out Blazor.
Blazor is a web framework for building web UI components (Razor components) that can be hosted in different ways. Razor components can run server-side in ASP.NET Core (Blazor Server)...
The programming model is quite easy for a non-web developer. I built a full website without touching one line of JavaScript.
Here is a primer about running Blazor on Linux using a container. It is hosted in Azure IoT Edge.
It is based on server-side Blazor so you can fully interact with what is happening on the device.
You can even access the GPIO on the RPi.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.