Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: SignalR in ClearScript

$
0
0
I am creating a Windows forms app that uses ClearScript. Users will write their own scripts to perform specific tasks to simulate a manufacturing process. The key to the app is that it must communicate with real time control systems in a lab/development environment. I created a SignalR server that provides connectivity to the real time control system and will provide javascript scaffolding that gets loaded into a V8 engine. The users then write their scripts and read write from the real time systems with little or no code on their part as I will have classes for them that greatly simplify that piece of the system.

The problem I have is that SinglaR javascript client code is based on jQuery and requires a DOM and a browser Window object - which don't exist in ClearScript.

Am I trying to mix oil and water or is there a way to skin this cat somehow?

BTW: My SingnalR server is running on a Windows 7 machine so it cannot communicate over websockets.

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>