Visual Studio Connection 2019 c# with Firebase

Asked

Viewed 87 times

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:

  1. Send and search user authentication information with e-mail and password
  2. Access nodes and your children for reading and writing.
  3. What does it mean .StartAt(???) .LimitToFirst(???) .OnceAsync(); (of FirebaseDatabase.net)
  4. Main properties of each using necessary.
  5. How to search and send the command push of id 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

  • 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 (???).

  • make some attempts to systematically eliminate possible errors:

  • firebase has a 'console' to test queries in its database... test before there...

  • 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

  • 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"

  • but unfortunately unofficial

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.