Control my application from browser?

I'm trying to get a bit more functionality out my application.

atm I have a WPF Application on the system, what I want to do is to have a website/html page to be opened on the same system, which contains controls so the WPF application can understand that it needs to change it's values since the user changed it on the web based version.

I'm thinking this isn't WCF as there won't be any server involved on the client system.

Can someone guide me on a way to do this.

Thanks

Answers


A nice thing to have would be a kind of "notification" of the underlying system to the WPF client when anything has changed - otherwise the client would have to poll frequently to detect changes.

One possible way to achieve this would be to add a WCF service layer that both the WPF client and the web site use to communicate with the underlying system (for example a database). As WCF supports callback contracts, the WCF service could notify the WPF client if changes are made to the underlying system through the web site, as the WCF service would "notice that".

Let's say you have a database in the background. The WPF application and the web site could both make changes to the database, but the WPF application wouldn't be notified if the web site makes changes.

Routing the changes through a WCF service, the WCF service could make the actual changes to the database and then notify all connected WPF clients that changes have been made. The clients could then fetch the new data.


Need Your Help

How do I send the data I have in my sqlite database to the server with HTTP and JSON

iphone objective-c cocoa-touch sqlite http

I'm storing id,lat,lng, and timestamp in sqlite and now need to send it in an JSON object to the server.

Docker: Are you trying to connect to a TLS-enabled daemon without TLS?

linux ubuntu docker daemon mint

On Linux Mint 17.1 x86_64 with kernel 3.13.0-48-generic and OpenSSL version 1.0.1f-1ubuntu2.11; whenever I try to execute any docker command (like docker login or docker run hello-world), I get the