Posts by Cleber Pessoal • 101 points
8 posts
-
0
votes0
answers36
viewsQ: Error returning API when running in parallel - C#
Hello, I’m having doubts as to which solution I could apply to the following problem: I built an API that when called makes several calls in some databases and after composing and concatenating the…
-
0
votes3
answers2024
viewsA: Keep application (Windows Form) open in icon tray with C#
1) Acrescentar no form o "notifyIcon"; 2) Acrescentar código no evento "notifyIcon1_MouseDoubleClick"; 3) Código: if (this.WindowState == FormWindowState.Minimized) { …
-
2
votes2
answers177
viewsA: Upload file via FTP TLS
Yes, but it is not a simple FTP, it asks for a public key (TLS) which I was not aware of, I just found the solution. I basically used Winscp (https://winscp.net/eng/docs/library). What I believe is…
c#answered Cleber Pessoal 101 -
2
votes2
answers177
viewsQ: Upload file via FTP TLS
I am trying to upload files via FTP (TLS), but I am not successful because it always returns an error when my code runs "Connect()". I have tried using Ftpwebrequest , Ftpclient, Tamir.Sharpssh and…
c#asked Cleber Pessoal 101 -
0
votes2
answers179
viewsA: Consume Json and direct to a database using C#
I spent a few days testing various solutions and arrived at this solution, so I share: using (StreamReader retornoReaderJson = new StreamReader(retornoServJson)) { Global.retorno =…
-
2
votes2
answers179
viewsQ: Consume Json and direct to a database using C#
I’m having trouble consuming a return json and convert it into object to then write in the database, my variables always return "null", I have tried several forms and always stay barred in this…
-
2
votes1
answer701
viewsQ: Concatenate arrays accumulating content in C#
Gentlemen, the question is the programming language C #, my question is: how can I place all the items of array B within each item of array A and the result will be stored in array C. Thank you.…
c#asked Cleber Pessoal 101 -
1
votes1
answer700
viewsQ: Save data from an array to a database
I need to record the contents of an array that returned from a Json deserilization (return of a Json with more than one level), follow the line with the method that extracts the array: Departmants…