I am working on a project where I need to connect an HTML-based GUI to a C# program. The goal is to use the GUI to facilitate the exporting of records digitized by a system called ClickScan. I have created the HTML GUI and have the C# code ready for exporting the records. However, I am facing difficulties in linking these two components so that user interactions on the HTML GUI can trigger the corresponding C# functions.
I tried to integrate the HTML GUI within an ASP.NET framework, hoping it would simplify the process of connecting to C# code, but encountered issues with routing/creating the socket from front to back end. To a similar end I attempted to create a Blazor app to achieve my goal but to no luck either.