Lightstreamer / Lightstreamer-example-Quickstart-client-dotnet

The provided source code can be used as a starting point to familiarize with the Lightstreamer .Net Client API
Apache License 2.0
2 stars 5 forks source link

Lightstreamer - Quickstart Example - .NET Client

The Quickstart Example provides the source code to build a very simple and basic client application, used to test the capability of the Client APIs to connect and receive data from Lightstreamer Server. The example can be used to familiarize with the Client APIs and as a reference on how to use them, and can be used as a starting point for client application implementations.

This project contains the C# source files of a sample application, which shows how the Lightstreamer .NET Standard Client API can be used to connect to Lightstreamer Server. The Client API version in use in this example support the Unified Client API model.

screenshot

Details

The example basically connects to the server and performs a subscription, printing on the console the incoming Item Updates. Some connection parameters and the type of subscription performed depend on the parameters passed in the command line; which in the right order are:

One more functionality shown is the submission of a message representing an order for the Portfolio Demo. To run this case, the parameters to be passed in the command line are:

Dig the Code

The application is divided into 6 main classes.

Install

If you want to install a version of this demo pointing to our Demo Server, follow these steps:

Build

To build a version of this example, pointing to your local Lightstreamer Server instance, follow the steps below.

See Also

Lightstreamer Adapters Needed by These Clients

Related Projects

Lightstreamer Compatibility Notes