V0FBU1VM
Dublicate Properties in Tables?
I have a table named
Users
and one named Organizations
. The relation between them is many to many. The joining table is called OrganizationMember
. I'm wondering whether it would be a good idea, to store certain properties from the User
table inside the OrganizationMember
. Such as Email
, & Full Name
and AvatarUrl
. The reason being is that OrganizationMember
will be used very much. I don't want to modify my queries to include the User
every time. Any suggestions would be appreciated.6 replies
✅ Suggestion on file upload?
When uploading file to azure storage. Should I upload the files through the server (api)? or is there another way. The thing that scares me is that if multiple people upload at the same time than we will have a memory issue. The clients in this case are mobile apps? Any insights would be appreciated.
45 replies
Verify Google Id Token: FormatException
I'm using google sign in on my client. Before authenticating the user I want to Verify the ID Token which I get from the client. On the server side. I'm trying to validate the ID Token (jwt) by using
Google.Apis.Auth
nuget package. But I'm getting a format exception. Here is the code:
2 replies
How to tell SwaggerUI to display `Enum` by the name and not integer value?
I want SwaggerUI to display
Enum
by the name and not integer value. The only problem is that when triggering an action it's sending the name to the pipline.
Is there a way I can tell swagger to only display the enums as their string name? But it should still handle everything by their integer values?1 replies
Tips on choosing the right database
I'm currently working on a social media project that involves features like comments, replies, following, followers, and posts. I'm in the process of choosing the right database for the project and wanted to reach out to seek valuable insights.
Considering the dynamic nature of social media interactions and the need for efficient data retrieval, I'm a bit torn between different database options. Do you guys have any recommendations or insights on which database might be a good fit for managing the complexities of user interactions?
I don't have that much experience in other databases. I'm only familiar with SQL.
10 replies
❔ Linq Query HELP
I have this entity. During deletion, I would like to load all related entities, so that I can delete them also. Here is the entity
I have come this far
I would like to load the Replies, and there likes, dislikes, suspensions. I also need to load the replies of replies and there likes, dislikes, suspensions etc. Any help would be appreciated. I don't think this query will do the job.
5 replies