Answer the question
In order to leave comments, you need to log in
How to implement better interaction of C# Forms application with CefSharp browser and website in it?
Hello. The question is how best to do it.
1. There is a website written in python + Flask.
2. There is a C# Windows Form application with the CefSharp
browser. The same site is displayed in the browser from 1 point, it is necessary to make interaction between the site and the C# application,
i.e. if I click the "close" button on the site, the C# application on the computer will also close. And any other interactions.
Tell me how best to do this, it is necessary that it be of high quality and without jambs. What mechanism can be applied here?
Ps the application is not for 1 user, but for many. Those. the usual interaction with the site through a session on the site and the interaction of the C# application with this site at the user.
Answer the question
In order to leave comments, you need to log in
the site should be an intermediary between the browser client and Windows applications (which are the same browsers from the point of view of the site). Store the state of clients in the database, give them commands when requested, receive commands from the browser with the admin session. The client application executes the command, sends the result back to the site, and so on.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question