Skip to content

LSEG-API-Samples/Example.TM3.DataLibrary.CSharp.Workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Step By Step TM3 Client File Store (CFS) File API using Data Library for .NET

  • version: 1.0.0
  • Last update: August 2025
  • Environment: C# and .NET 8.0

Example Code Disclaimer: ALL EXAMPLE CODE IS PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS FOR ILLUSTRATIVE PURPOSES ONLY. LSEG MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, AS TO THE OPERATION OF THE EXAMPLE CODE, OR THE INFORMATION, CONTENT, OR MATERIALS USED IN CONNECTION WITH THE EXAMPLE CODE. YOU EXPRESSLY AGREE THAT YOUR USE OF THE EXAMPLE CODE IS AT YOUR SOLE RISK.

Introduction

This example demonstrates how to use C# with LSEG Data Library for .Net Delivery Layer to retrieve the Municipal Market Monitor (TM3) bulk file via the Delivery Platform—also known as the Data Platform or RDP.

This is just a basic examples for my personal learning on LSEG Data Library for .Net.

Please note that this code is intended for demonstration purposes only and is not optimized for production use.

Prerequisite

This example requires the following dependencies.

  1. Visual Studio 2022 IDE.
  2. .NET SDK version8.
  3. RDP access credential.
  4. Internet connection.
  5. Docker (for using VS Code Devcontainer) - optional.

Please contact your LSEG representative to help you to access the RDP account.

How to run the demo application

The first step is to unzip or download the example project folder into a directory of your choice, then set up the environment by the steps below.

Run the demo Console application with Visual Studio 2022 IDE

  1. Create a file name .env inside a folder with the following content

    MACHINE_ID=<RDP Username>
    PASSWORD=<RDP Password>
    APP_KEY=<RDP App Key>
    PACKAGE_ID=<Your Bulk Package ID>
  2. Open the LD_Csharp.sln solution file on Visual Studio 2022 IDE.

  3. Run the project using Visual Studio IDE.

  4. The TM3 bulk file will be downloaded to \bin\Debug\net8.0 folder.

Run the demo Console application with .NET CLI

  1. Open the Command Prompt and go to the project's folder.

  2. Create a file name .env inside a folder with the following content

    MACHINE_ID=<RDP Username>
    PASSWORD=<RDP Password>
    APP_KEY=<RDP App Key>
    PACKAGE_ID=<Your Bulk Package ID>
  3. Run the following command to build a solution

    $>dotnet build
  4. Once the building process is completed, run the following command to start an application

    $>dotnet run
  5. The TM3 bulk file will be downloaded to \bin\Debug\net8.0 folder.

About

A workflow for TM3 Bulk file using Data Library for .NET Delivery Layer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published