F
F
CC#
Created by F on 10/23/2024 in #help
Setting up Azure OpenAI in my school project.
So i've been trying to set up Azure OpenAI in my school project and i feel like i've walked into a brick wall. I've managed to find a quota for my model and managed to Deploy the Assistant, but its not showing up in the Assistants field. Anyone with some experience with this?
1 replies
CC#
Created by F on 10/12/2024 in #help
✅ Scanning PDFs using ASP.NET
So in my current project im using iTextSharp to scan PDFs for text; But also something called "Tesseract" to scan images for Text; Then im filtering the text to get the information i am looking for. Figured a good way to go about this is using ReGex. The PDF/images in question are Invoices. Could use some tips to get the correct information.
1 replies
CC#
Created by F on 10/1/2024 in #help
✅ ASP.NET MVC and mapping correct views.
Im working on a project that's split in two: There's an API project built in ASP.NET WEB API - and the Frontend in ASP.NET MVC. Im trying to make it so when you log in and the TwoFactorEnabled in the MS Identity database is set to True then you'd be taken to a View called "Verify2FA", "TwoFactorAuth" There the User would be prompted to enter the 2FA code from their phones and clicking verify; If the Code is correct they get to move on to "Dashboard", "Admin"
2 replies
CC#
Created by F on 9/22/2024 in #help
✅ Microsoft Identity, ASP.NET API and MVC
So i'm working on a School project and i'm going beyond what is required. I've got two projects. - an ASP.NET API project and an MVC project. I've set up a full Account experience that makes use of CRUD operations on the API side that i've tested through Swagger and it works perfectly fine. I cannot however for the life of me get the MVC project to work with the Login server. I've set up Authentication and Authorization stuff; As in JWT Token generation.
18 replies
CC#
Created by F on 8/25/2024 in #help
✅ SQL Database Assignment - Simple question
So i have a school project where we are meant to create a Restaurant table booking system. So i've set one up completely and was thinking i'd create a sister restaurant to the primary one. I've never implemented multiple SQL databases in the same project. How would you go about that? Should i create multiple Controllers? One for each Restaurant?
4 replies
CC#
Created by F on 8/20/2024 in #help
✅ Brainstorming ideas for a school project
So i am tasked with creating a full restaurants booking system with a frontend and a backend. (ASP.NET + React). I decided that im going to implement an email service that will send the booking information to the Customer once they have booked a table. I thought it would be cool to let the user choose if they want an email or a text message. But the question now is; is there a free way to send the user a text message?
3 replies
CC#
Created by F 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 F 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 F 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 F 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 F 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 F 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 F 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 F 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