Skip to content

The purpose of this project is to demonstrate how a web application could run remote processes on remote machines using SignalR Core.

Notifications You must be signed in to change notification settings

thoemmi/WebConsoleDemo

Repository files navigation

Remote Web Console Demo

Disclaimer: This is a small showcase application. There's no fancy styling, no error checking or anything else beyond the proof of concept.

The purpose of this project is to demonstrate how a web application could run remote processes on remote machines. It uses SignalR Core to bring the different pieces together:

  • A web application hosting the SignalR hub. This hub has two functions:

    • receiving commands from the HTML page and forwarding them to the agent.
    • getting the ouput from the agent and forwarding them to the HTML page.
  • An HTML page with an input field to enter the command, a submit button to send that command to the hub, and a div element where the result received from the hub will be added.

  • A console application WebConsoleDemo.Agent running cmd.exe in the background. It

    • receives commands form the hub and
    • sends back the outout of the command back to the hub.

Flow Chart

The point of this proof of concept is that SignalR can be used to send commands to an agent and get back the results in realtime.

Demo

About

The purpose of this project is to demonstrate how a web application could run remote processes on remote machines using SignalR Core.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published