0
I tried for hours and even days to look for application examples for VS 2019 connection extensions (in C#) with Firebase, but without any success. I feel that almost nobody uses it for lack of more detailed information.
I downloaded the extensions Firebaseuthentication.net, Firebasedatabase.net and also Firesharp in Visual Studio, but the documentation is very superficial and I’m not being able to use it.
Example:
- Send and search user authentication information with e-mail and password
- Access nodes and your children for reading and writing.
- What does it mean
.StartAt(???)
.LimitToFirst(???)
.OnceAsync();
(ofFirebaseDatabase.net
) - Main properties of each
using
necessary. - How to search and send the command
push
ofid
single by Firebase.
Example:
var firebase = new Firebase
.Database
.FirebaseClient("https://fir-app-20502.firebaseio.com/");
var idUser = await firebase
.Child("CSharp")
.OrderByKey()
.StartAt(???)
.LimitToFirst(???)
.OnceAsync<???>();
I’ve been watching some Indian video about Firesharp, but there’s nothing about authentication.
at the link of firebase-database-dotnet) has several examples including about Authentication
– Ricardo Pontual
Hello friend. This is just the official documentation that is not clear. I tried to use but, it doesn’t work because, I didn’t understand the examples, as in the example code above (???).
– Ag-mr
make some attempts to systematically eliminate possible errors:
– anon
firebase has a 'console' to test queries in its database... test before there...
– anon
you can fill in some data in the database, and make it readable by anyone (read = true), and try to access it without authentication, to confirm that your query works
– anon
I’ve used this api on Node.js/browser, but found something that can help you: https://medium.com/step-up-labs/firebase-authentication-c-library-8e5e1c30acc2 , Scrolling down you will find two topics that should be of interest to you: "Authenticate with third-party Entity" and "Authenticate with email and password"
– anon
but unfortunately unofficial
– anon