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

https://github.com/amirdoosti6060/influxdbdemo

A sample that shows how to insert data in InfluxDB and make a query using C#
https://github.com/amirdoosti6060/influxdbdemo

csharp dotnet influxdb influxdb2 timeseries timeseries-database

Last synced: 15 days ago
JSON representation

A sample that shows how to insert data in InfluxDB and make a query using C#

Awesome Lists containing this project

README

          

# InfluxDbDemo

## Introduction
This project provide a sample that shows how to use **InfluxDB** in .Net 6.
I also wrote an article in the following address that completely explains **Using InfluxDB in C#**:
https://www.linkedin.com/pulse/using-influxdb-c-amir-doosti-dbklf/

## Structure of soution
The solution contains one Console App project which is written in Visual Studio. The project let you add temperature for two cities Tehran and London in an InfluxDB measurement with two different methods and query them with Flux using Influx.Client in C#.

## Technology stack
- OS: Windows 10 Enterprise - 64 bits
- IDE: Visual Studio Enterprise 2022 (64 bits) - version 17.2.5
- Framework: .Net 6
- Language: C#
- InfluxDB docker v 2.7.5

## How to run
Open the solution in Visual Studio and run it using F5. You will see a menu in the console with 4 command to create and query InfluxDB database.
Press X to exit the program.