Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/greendelta/protolca-demo


https://github.com/greendelta/protolca-demo

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

# ProtoLCA-Demo

This is a small C# example application that shows how to connect to openLCA 2
using a [gRPC](https://grpc.io/) client. It is a console application with which
you can run different examples. Each example is a C# class in this project.

## Usage

First you need to start an openLCA gRPC server. In openLCA 2, you can start such
a server with the currently active database via `Tools > Developer tools > IPC
Server` by checking the gRPC option:

![](images/start_grpc_server.png)

The server will run until you click the stop button or close the dialog. You can
continue to work with the opened database while the server is running. Note that
in order to see updates of the gRPC client application in the database you may
have the refresh the navigation. You can do this via the `Refresh` button in the
navigation menu:

![](images/refresh_navigation.png)

When the server is running, just start the demo application and follow the
instructions in the command prompt:

![](images/demo_app_console.png)