Bordin
Explore posts from serversSignalR
Hi, I am trying to create a Notification feature for my application and I figured it should be Real-time. Which is why i am trying to use SignalR but i don't quite understand it.
I made a notification hub
So, i really dont understand what a hub is and i have read and asked chatgpt but i can't figure it out. What's a user? what's a message? how does it know who the client is? i really dont understand anything
I added the hub in program.cs btw so that step is done. I just dont know how that is supposed to send notifications because apparently it shouldn't return anything.
10 replies
✅ file path not saving properly with id
I am creating a file with path Uploads/companyId.png
However. The companyId is 0 because i am creating newCompany after i create the path. And if i created it before it saves as Microsoft.AspNetCore.http... And i guess that's because i created the company with no path.
any idea how i can fix this? its so confusing
10 replies
DiscordBot Deployment
Hi! I made a discord bot with a database and i want to deploy it for free since it is just a small project, I heard railway is a good place to look into . I tried deploying from github but then i remembered I have a gitignore that removes .env files which caused the deployment to crash.
How can I avoid this issue?
44 replies