# \#c-sharp

**URL:** https://community.influxdata.com/tag/c-sharp/97.md

[Latest](https://community.influxdata.com/latest.md) · [Categories](https://community.influxdata.com/categories.md) · [Tags](https://community.influxdata.com/tags.md)

---

## [Timestamps lose precision in Flux Query through C# API](https://community.influxdata.com/t/timestamps-lose-precision-in-flux-query-through-c-api/35192)

<div class="topic-metadata">

**Author:** [@JasonJ55](https://community.influxdata.com/u/JasonJ55)\
**Replies:** 6\
**Last updated:** [August 15, 2024, 9:57pm UTC](https://community.influxdata.com/t/timestamps-lose-precision-in-flux-query-through-c-api/35192 "2024-08-15T21:57:37Z")

</div>

Hi, \[This is my first forum post as I’m still somewhat new to influxdb!\] Whenever I run a query, the returned timestamps are rounded to seconds, but I need them to be more precise. For example, here are two timestamps…

---

## [Help with Unit of work in Influx](https://community.influxdata.com/t/help-with-unit-of-work-in-influx/31742)

<div class="topic-metadata">

**Author:** [@green\_orange](https://community.influxdata.com/u/green_orange)\
**Replies:** 1\
**Last updated:** [October 13, 2023, 5:13pm UTC](https://community.influxdata.com/t/help-with-unit-of-work-in-influx/31742 "2023-10-13T17:13:54Z")

</div>

Hello, I would like to implement Unit of Work for Influx in my project, but I don’t know how to start, since Influx is not transactional database. I’m quite new to this field of programming. Any help would be appreciated…

---

## [InfluxDB C# Client Data Loss](https://community.influxdata.com/t/influxdb-c-client-data-loss/30188)

<div class="topic-metadata">

**Author:** [@C3RA-025](https://community.influxdata.com/u/C3RA-025)\
**Replies:** 1\
**Last updated:** [June 5, 2023, 9:09am UTC](https://community.influxdata.com/t/influxdb-c-client-data-loss/30188 "2023-06-05T09:09:16Z")

</div>

I’m running InfluxDB v2.7.1 in a Docker Container (v23.0.5) and try to use the C# InfluxDB-Client Library. The problem is that sometimes data is not transmitted from the Client to the Database. To verify it, my Client co…

---

## [Influx -execute how to work with it?](https://community.influxdata.com/t/influx-execute-how-to-work-with-it/26354)

<div class="topic-metadata">

**Author:** [@JMroz](https://community.influxdata.com/u/JMroz)\
**Replies:** 4\
**Last updated:** [September 7, 2022, 7:21am UTC](https://community.influxdata.com/t/influx-execute-how-to-work-with-it/26354 "2022-09-07T07:21:31Z")

</div>

Here I have problem We can erase data from mesurement with specific properits in Database like this: DELETE FROM “mesurement\_name” WHERE “Tag\_key”=‘Tag\_value’ But i want something like this: influx -execute 'DELETE F…

---

## [Influx Cloud Compatibility with C# Client Library](https://community.influxdata.com/t/influx-cloud-compatibility-with-c-client-library/25920)

<div class="topic-metadata">

**Author:** [@ticchioned](https://community.influxdata.com/u/ticchioned)\
**Replies:** 2\
**Last updated:** [July 29, 2022, 12:27pm UTC](https://community.influxdata.com/t/influx-cloud-compatibility-with-c-client-library/25920 "2022-07-29T12:27:47Z")

</div>

I just started a free Influx Cloud db and am looking to connect to it via the c# client library that Influx offers. In the past I have connected to this API using Influx OSS versions and have had no issues. However I c…

---

## [Write call gets calceled by system](https://community.influxdata.com/t/write-call-gets-calceled-by-system/25003)

<div class="topic-metadata">

**Author:** [@TomsCodingCode](https://community.influxdata.com/u/TomsCodingCode)\
**Replies:** 1\
**Last updated:** [May 12, 2022, 5:48am UTC](https://community.influxdata.com/t/write-call-gets-calceled-by-system/25003 "2022-05-12T05:48:27Z")

</div>

I ran into this problem and spend a couple of hours trying to figure out a solution and I think i finally did. I found that every once in a while my write-task would get cancled seemingly randomly, as I didn’t specify a…

---

## [Optimize query and scema design to speed up querying against the DB](https://community.influxdata.com/t/optimize-query-and-scema-design-to-speed-up-querying-against-the-db/24500)

<div class="topic-metadata">

**Author:** [@TomsCodingCode](https://community.influxdata.com/u/TomsCodingCode)\
**Replies:** 4\
**Last updated:** [April 4, 2022, 5:25pm UTC](https://community.influxdata.com/t/optimize-query-and-scema-design-to-speed-up-querying-against-the-db/24500 "2022-04-04T17:25:49Z")

</div>

Hi there, we are currently evaluating influxdb as a potential replacement of our current data handling. The data we want to store is tree-structured (i.e. “System.performance.cpu.usage”) and is always queried against c…

---

## [Querying from InfluxDB 2.1](https://community.influxdata.com/t/querying-from-influxdb-2-1/23259)

<div class="topic-metadata">

**Author:** [@Nammouchi\_Dali](https://community.influxdata.com/u/Nammouchi_Dali)\
**Replies:** 0\
**Last updated:** [January 6, 2022, 2:31pm UTC](https://community.influxdata.com/t/querying-from-influxdb-2-1/23259 "2022-01-06T14:31:43Z")

</div>

Hi Community, I’m migrating from InfluxDB 1.8 to InfluxDB OSS 2.1. Our use case consists of using InfluxDB for Buffering purpose, However I have a performance issue when retrieving the buffered data: the query takes to …

---

## [InfluxDB.Client C# library with .NET Framework 4.0/4.5](https://community.influxdata.com/t/influxdb-client-c-library-with-net-framework-4-0-4-5/21665)

<div class="topic-metadata">

**Author:** [@DezzardHD](https://community.influxdata.com/u/DezzardHD)\
**Replies:** 4\
**Last updated:** [October 2, 2021, 9:35pm UTC](https://community.influxdata.com/t/influxdb-client-c-library-with-net-framework-4-0-4-5/21665 "2021-10-02T21:35:48Z")

</div>

Hey, I am trying to use the InfluxDB.Client library for a C#-project, that is targeting .NET framework 4.5. Due to proprietary hardware/software I’ll have to target the old .NET framework 4.0 or 4.5, so it’s not possib…

---

## [Data input type is not recognised by InfluxDB 2.0](https://community.influxdata.com/t/data-input-type-is-not-recognised-by-influxdb-2-0/21406)

<div class="topic-metadata">

**Author:** [@Nitesh](https://community.influxdata.com/u/Nitesh)\
**Replies:** 9\
**Last updated:** [September 10, 2021, 9:54am UTC](https://community.influxdata.com/t/data-input-type-is-not-recognised-by-influxdb-2-0/21406 "2021-09-10T09:54:13Z")

</div>

Hello, I am able to create the fileds in Influxdb 2.0, but not rable to read the data in it: I used C# client @bednar . It says \`\`\` unsupported input type for mean aggregate: string Here is my Input data type: \[C…

---

## [How to deserialize Influx Json Object using Restsharp in C#](https://community.influxdata.com/t/how-to-deserialize-influx-json-object-using-restsharp-in-c/21416)

<div class="topic-metadata">

**Author:** [@kakashi](https://community.influxdata.com/u/kakashi)\
**Replies:** 1\
**Last updated:** [September 2, 2021, 5:46am UTC](https://community.influxdata.com/t/how-to-deserialize-influx-json-object-using-restsharp-in-c/21416 "2021-09-02T05:46:20Z")

</div>

Hi guys, it’s me again, I’m trying to deserialize this using Restsharp Object, in a console, which I got from influxDB. Not so sure I;m doing it right. Here’s my code: //In the main var client = new R…

---

## [Accessing Arduino webserver content with Telegraf](https://community.influxdata.com/t/accessing-arduino-webserver-content-with-telegraf/20847)

<div class="topic-metadata">

**Author:** [@Idle](https://community.influxdata.com/u/Idle)\
**Replies:** 4\
**Last updated:** [July 27, 2021, 7:39am UTC](https://community.influxdata.com/t/accessing-arduino-webserver-content-with-telegraf/20847 "2021-07-27T07:39:13Z")

</div>

I am using a Webserver hosted on a Arduino to display certain values on a webpage. not using any HTML, the webpage solely looks like this: examplevalue,examplevalue. for example: 9,9 or 14,2. Whenever im trying to read…

---

## [How to insert data into InfluxDB from Azure Functions in C# (C-sharp)?](https://community.influxdata.com/t/how-to-insert-data-into-influxdb-from-azure-functions-in-c-c-sharp/20849)

<div class="topic-metadata">

**Author:** [@raginigupta6](https://community.influxdata.com/u/raginigupta6)\
**Replies:** 2\
**Last updated:** [July 23, 2021, 3:57pm UTC](https://community.influxdata.com/t/how-to-insert-data-into-influxdb-from-azure-functions-in-c-c-sharp/20849 "2021-07-23T15:57:55Z")

</div>

Hi there, I have Azure functions in C# and and InfluxDB hosted on Azure cloud. I am trying to send data remotely from C# code to influx DB 2.0. The health status on connection gives success but the data is not getting …

---

## [How to write data in Influxdb using c#](https://community.influxdata.com/t/how-to-write-data-in-influxdb-using-c/19028)

<div class="topic-metadata">

**Author:** [@S\_Y](https://community.influxdata.com/u/S_Y)\
**Replies:** 2\
**Last updated:** [July 20, 2021, 9:11pm UTC](https://community.influxdata.com/t/how-to-write-data-in-influxdb-using-c/19028 "2021-07-20T21:11:34Z")

</div>

0 I want to send data to Influxdb rest API v2. However, I get a 400 error and cannot send data. Because unity is being used, the corresponding influxDB.client library conflicts with assembly and cannot be used. How do I…
