Register & Login Form (with authentication) using C# | Cloud Firestore DB
ฝัง
- เผยแพร่เมื่อ 11 ก.ย. 2024
- cloud firestore database c# tutorial .net 7
register and login page using c# and firestore database
register login form winform c#
authentication using firestore c# .net
secure key.json implementation with cloud firestore db c#
Documentation:
firebase.googl...
Firestore (2023) C# Playlist:
• Google Cloud Firestore...
Old But Detailed Playlist About C#, Firestore CRUD Operations:
• Google Cloud Firestore...
Firestore with Javascript Playlist:
• Cloud Firestore Databa...
Encryption & Decryption:
csharpcode.org...
Software Used:
- Visual Studios 2022 Community Edition
- FireBase Console (Online) via Google Chrome
Project Description:
- Google Cloud Firestore Database (Online)
- Based on Windows Form C# (NET 7)
- NuGet Package: Google.Cloud.Firestore 3.2.0
I really appreciate this tutorial. It is clear, not too much fuss, but enough to make it work. A big thumbs up, he is truly a great teacher!!😃
thank you so much for your kind words :)
Can you upload the project file
i got what i want thanks a lot for this tutorial
awesome!
Helpful, but i need a simplified way to use the code for web application
Google Cloud Firestore C# | English Tutorials: th-cam.com/play/PLrb70iTVZjZPEbhCh85VQIpRbQos2Qx3i.html
I do have a few doubts, if possible, can you help:
1) Can you initialize firebase without webpack.config.js Is it possible to initialize it between the script tag in the main html file
2) If yes, then how shall other html files access the firebase initialization
3) I am able to fetch all the restaurant documents and show them on the screen. I can apply searching functionality to it. But this process can cause charges in firebase as there is lot of data to read. So is there a way to prevent that.
4) I want to add a map location to each restaurant, how will I store that type of data in firebase v9 and how to represent the map location for each restaurant
Hi, can you make a ms word type of website using firebase
Please erro line - userData data = docRef.GetSnapshotAsync().Result.ConvertTo();
System.AggregateException: 'One or more errors occurred. (Status(StatusCode="PermissionDenied", Detail="Missing or insufficient permissions."))' help-me please
thanks for all video can i have sourc code
hello nice work i want to ask you how i can protect my firebase database from deleting i tried serval ways to change the rules but every time i got failed when i added a button to the same application you made
private async void button3_Click(object sender, EventArgs e)
{
// Get the document ID from the user ID text box
var userId = textBox9.Text;
var document = db.Collection("UserData").Document(userId);
// Delete the document from Firestore
await document.DeleteAsync();
MessageBox.Show("Data deleted successfully.");
}
this button always deletes the data collection whenever i changed the rules for the database
I want to prevent deleting I tried (write : if false ) whatever you think I don't know why
and this is my last try :
// Allow write access to the UserData collection only if the user matches the document's userId field
match /UserData/{document} {
allow write: if request.auth != null && request.resource.data.userId == request.auth.uid;
}
request
{
"path": "/databases/the rest of the path/userId"
"method": "delete"
"resource": null
"auth": null
"time": "2023-07-03T20:15:36.508Z"
}
... != null
false
... && request.resourc ...
false