Fady
Fady
CC#
Created by Fady on 6/1/2024 in #help
✅ Typically how is an image stored?
Im trying to set up an ASP.NET Project where i have a profile section. Users can then choose to upload a Profile Picture of themselves. I want to store this profile picture in my MSSQL Database so they stick around. How would you typically do it? Im trying to find info on what the "Best approach" would typically be. As it feels like a lot of storage space for a simple cause.
135 replies
CC#
Created by Fady on 5/30/2024 in #help
General Google SSO Login Question
So i've set up my Google SSO in ASP.NET; And when logging in you get returned a JWT Token. Our Frontend for my school project is wondering how they can extract it to their react project. Are they meant to just redirect back to the website? Or is that meant to go through the Google Console?
1 replies
CC#
Created by Fady on 5/28/2024 in #help
✅ Anyone good with ClaimsPrincipal? Trying to print the User's email
So i'm trying to set up the SSO for Google and i've managed to get a working response and i've converted it to a JWT Token. However i need to get the User's Email address so i can map it to the User in the Database. But i can't seem to figure it out.
58 replies
CC#
Created by Fady on 5/24/2024 in #help
ASP.NET project the latest frontend push killed the SSL certificate for localhost.
Has anyone here came across this before? The project template was ASP.NET + React project in Visual Studio
41 replies
CC#
Created by Fady on 4/21/2024 in #help
✅ Noob setting up a Database for a school project.
So if we imagine you're tasked with setting up a Database. There'll be a table called USER: And within that there's: Id Name Username Password Telephone (Phone verification) Email (Email Verification) Interests. The Email/Username and Password are login parameters. Should one store them in the same Table as User? I'm looking at using Azure to store the Database (using MySQL, never used this before) How would you store the Email/Username and Password in a secure manner? ALSO: Would SSO need its own table structure? I'm looking into that as well but in the future.
56 replies
CC#
Created by Fady on 1/15/2024 in #help
Working on a school project
Hey! So i’m working on musically themed class project where we are supposed to create a database using EF, and then set up the database to create a User. I chose to use the Spotify open source API and i’ve set it up correctly sin the features. This User can have several interests all could be mapped together. Say if a user really enjoys The Weeknd and enjoys a specific song of his. Is it possible to have that the most recently liked song play as you call the API? Or do i need to have the song saved locally on my pc? I’ve used NAudio in the past but never in lieu of the Spotify API
3 replies
CC#
Created by Fady on 10/10/2023 in #help
❔ Is it possible to have sound/music playing in .Net/c#?
Im working on a basic RPG game and music is a great element when it comes to that kind of thing. so my first question is can you play music/sound through a basic .NET project?
10 replies
CC#
Created by Fady on 9/23/2023 in #help
❔ ✅ Help with a Lab
Hello! I'm pretty new when it comes to c# and i'm working on a Lab where we're making a basic game; guessing game with a "Hot & Cold" feature added to it. My code is in my native language; Swedish. But i'm getting this error after a random amount of guesses: "System.IndexOutOfRangeException" and it's at row 108 of my code. Would love some input. 🙂
247 replies