Questions tagged [fire-sharp]
32 questions
60
votes
11 answers
Setting custom key when pushing new data to firebase database
Well, I am new to Firebase and I want to have my own keys while pushing new data to database.
Problem:
FireBase.push().setValue(mapped_values);
This gives structure like below:
How can I create my own custom key there?
Such as username or…

Victor Davis Lenz
- 601
- 1
- 5
- 4
2
votes
0 answers
How to retrieve data from firebase using firesharp c# library (unknown exact child path)?
I'm trying to make a database that stores dental records. I'm using firesharp library. I made a form called Register UI that registers details of new patients. Then another form called DatabaseUI where records could be retrieved from the database.…

Sky
- 21
- 1
1
vote
0 answers
FireSharp CreateUser(Email, Password) 500 internal error
I am trying to create a new user using .net 5 project.
In order to communicate with firebase you need to create a client, which I am able to do with no problem and I am able to Push and Pull data to the database. However when I am trying to create…

Stanislav Mozolevskiy
- 21
- 1
- 1
- 8
1
vote
2 answers
c# Firesharp - How to update a single value of an object?
I have a c# project and I'm trying to update a single value of an object using FireSharp. However, when I do, it deletes the other objects that are strings.
tldr question:
Is it possible to update only a single field of an object using Firesharp or…

Cflux
- 1,423
- 3
- 19
- 39
1
vote
1 answer
Error: FireSharp's SetAsync and GetAsync not marked as async?
I'm a beginner and recently tried to get started with FireSharp, and even got some data transfered:
This was my first Code to send data to the server:
public static class Client
{
static IFirebaseClient client;
static IFirebaseConfig config…

Wanja Wischmeier
- 120
- 2
- 9
1
vote
1 answer
How to get all data from firebase with firesharp
I have user_table in firebase, I want get all node data as list from user_table.
I can get all data with
FirebaseResponse response = await client.GetTaskAsync("User_Table\");
, then I can not serialize json data to object
FirebaseResponse…

İLHAM
- 71
- 6
1
vote
0 answers
How can i loop and get the values from my firebase Json?
I want to get the values from my Firebase json file
At the moment i can add the values without any problem but i can't read it
i already tried multiple ways to loop it but i get always stuck
this is my json
{
"23ds1f5":{
…

Youlle1934
- 11
- 2
1
vote
1 answer
Delete first element of array before pushing a new one
I'm using FireSharp to manage an array of items in a Firebase Realtime database.
I'm trying to implement a kind of queue of 30 messages.
I want to manage only 30 messages and if a new message is received, the first in time order should be…

DarioN1
- 2,460
- 7
- 32
- 67
1
vote
1 answer
Firesharp: An error occured while execute request. Path : 0/ , Method : PUT
I am exploring Firebase Realtime Database (RTDB) with C#, and am trying out the Firesharp framework on a .NET console app. I have followed most online tutorials on getting started, but was not able to post any data to my RTDB. I am thrown this error…

Koh
- 2,687
- 1
- 22
- 62
1
vote
1 answer
Why posting values to firebase realtime database using firesharp shows error
I am using firesharp package for posting values to firebase realtime database
from c# code.But SetTaskAsync method throws error , I have followed same syntax which is referred in youtube tutorial/other blogs.
Code:
var notification = new…

Vyasdev Meledath
- 8,926
- 20
- 48
- 68
1
vote
1 answer
FireSharp QueryBuilder return null
i hope this question afford all the standards.Im trying to do a notification service using Firebease with the firesharp library.Im able to connect my app and insert data into my firebase, and, if i ask for an specific object, im able to retrieve the…

Jesé Abraham Chavez Rivas
- 111
- 1
- 2
- 9
1
vote
2 answers
How to return as objects from firebase using firesharp
For this i want to get all the vehicles as a list of vehicle objects
FirebaseResponse response = await client.GetAsync("Vehicles/");
List vehicles = response.ResultAs
- >().ToList();
this gives a JSON serialization exception.
The…

Yomal
- 362
- 2
- 15
0
votes
0 answers
Can not use Firesharp OnAsync
I'm trying to detect the change in firebase realtime DB
I'm using firesharp OnAsynce method, the error is 401: Unauthorized
While I can use other method normally (like get, push, post, put)
Thanks for help!
IFirebaseConfig firebaseConfig = new…
0
votes
0 answers
I couldn't able to login since i encountered this error
I am new to the firebase database, so I'm struggling right now. This is the error that I encountered:
FireSharp.Exceptions.FirebaseException: Request responded with status code=BadRequest, response={
"error" : "Invalid path: Invalid token in…

nucho
- 1
0
votes
0 answers
How to retrive all data from firebase realtime database and display in listview in C#?
I am writing code for student information system using Firebase realtime database in C#. I am using Visual Studio and installed FireSharp NuGet Package. I retrieved a data and displayed in textboxes using the code below. I want to retrieve all data…

Byung-ik Kang
- 31
- 3