Lulers
Lulers
CC#
Created by Lulers on 6/25/2024 in #help
Learning DB and Identity
Yeah that makes sense. Weekly analytics, etc. I will look into that after the general DB items and Identity works. Thanks! I appreciate the help. I will be on it tonight
30 replies
CC#
Created by Lulers on 6/25/2024 in #help
Learning DB and Identity
And thank you so much for the responses, this is super helpful!!!
30 replies
CC#
Created by Lulers on 6/25/2024 in #help
Learning DB and Identity
Having all of that data in one table would be conventionally safe? I.e the logic credentials, and other data to be used by the backend for nutrition tracking, BMI calculation etc? I was under the impression it would be safer to separate the two, but then again, ChatGPT told me so, and if I learned anything from Terminator, is not to rely on AI
30 replies
CC#
Created by Lulers on 6/25/2024 in #help
Learning DB and Identity
I guess, I think.
30 replies
CC#
Created by Lulers on 6/25/2024 in #help
Learning DB and Identity
I see, so basically I would create that if I need to edit the generic user table identity would create, but if I will be fine with Identity's generic AspNetUsers and I would just use it's forein key to connect to my UserProfile table (which is not supposed to store any login information, it basically extends the user profile for other data like user age, weight, height etc) and leave it as is
30 replies
CC#
Created by Lulers on 6/25/2024 in #help
Learning DB and Identity
And yeah, thats what I've started learning, Entity Framework Core
30 replies
CC#
Created by Lulers on 6/25/2024 in #help
Learning DB and Identity
Thank you for your response, What I currently am trying to practice on is creating a DB model for a table called "UserProfile" to hold profile information that is important for backend functionality, but not for authentication or registration. As I understood using the documentation and some ChatGPT is that (and correct me if I am totally misunderstanding that) Identity will automatically create a bunch of tables, one of them being 'AspNetUsers' that will contain all the required fields for the library, and then I can manually edit my UserProfile table to connect the keys between them, as opposed to creating a custom UserInfo table and custom design it to fit the Identity library criteria. I am going to start working on it later after work tonight, so I still didnt get a chance to dive into it in practice and to get an understanding of what exactly I dont understand 🙂
30 replies
CC#
Created by Lulers on 6/25/2024 in #help
Learning DB and Identity
Oh turns out Identity has a built in DB functionality. That makes sense. I will read through it soon when I will be coding, and I assume after I implement Identity, I can adjust / change the DB to fit my needs
30 replies