mHUB - Example interactive clients

 

C# interactive example

A full functioning interactive client written in C# that uses the HttpClient class to communicate with the service. This demonstrates interactive mode only.

Toolbar

Host URL and port number
Create a new engine instance and delete an engine instance
Current engine instance number
Change the engine state
Upload a file of settings
Specify the delimiter for and upload a data file

Record Panel

Enter a uniqueRef and click the Get button to fetch an individual record. The record is displayed in the Results panel.

Enter a uniqueRef and click the Delete button to delete an individual record.

Query Panel

Enter individual fields and click the Lookup button to search for records matching the query entered. Record found are displayed in the Results panel.

ResultsPanel

Results of a Get or Lookup search are displayed here. In the case of a Lookup, multiple results may be returned - use the arrow buttons to scroll through results.

Modify the data for an existing record (except UniqueRef) and click Update to update that record's data.

Enter a data record with a new UniqueRef and click Add to add a new record.

Status bar

The status bar shows the current state of the engine and the status of the last action.

 

Javascript example

A simple browser based example client written in HTML and javascript uses jQuery.ajax() to communicate with the service. This demonstrates interactive mode only.

Settings tab

Data tab

Lookup tab