Bordin
Bordin
Explore posts from servers
CC#
Created by Bordin on 5/14/2024 in #help
Uploads folder
alright, ill check it out tomorrow since i have to sleep now. Thank you!
11 replies
CC#
Created by Bordin on 5/14/2024 in #help
Uploads folder
but idk anything about it
11 replies
CC#
Created by Bordin on 5/14/2024 in #help
Uploads folder
i think it should server it from the /wwwroot as you said.
11 replies
CC#
Created by Bordin on 5/14/2024 in #help
Uploads folder
idk
11 replies
CC#
Created by Bordin on 5/14/2024 in #help
Uploads folder
hmm, i dont know, seems extra work on the server.
11 replies
CC#
Created by Bordin on 5/14/2024 in #help
Uploads folder
is there somewhere i can read more about this? i am not sure what's the built-in thing you are talking about
11 replies
CC#
Created by Bordin on 5/5/2024 in #help
✅ SignalR Authorized Connection
nvm i fixed it
10 replies
CC#
Created by Bordin on 5/5/2024 in #help
✅ SignalR Authorized Connection
oh my god
10 replies
CC#
Created by Bordin on 5/5/2024 in #help
✅ SignalR Authorized Connection
bruhhhh
10 replies
CC#
Created by Bordin on 5/5/2024 in #help
✅ SignalR Authorized Connection
error, Error: WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.
error, Error: WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.
10 replies
CC#
Created by Bordin on 5/5/2024 in #help
✅ SignalR Authorized Connection
it just has issues here
10 replies
CC#
Created by Bordin on 5/5/2024 in #help
✅ SignalR Authorized Connection
[Authorize] works on other endpoints
10 replies
CC#
Created by Bordin on 3/24/2024 in #help
SignalR
Ah yes im using authentication. It's probably that!
10 replies
CC#
Created by Bordin on 3/24/2024 in #help
SignalR
Negotiation errors
10 replies
CC#
Created by Bordin on 3/24/2024 in #help
SignalR
also connection is failing, it's giving errors on frontend
10 replies
CC#
Created by Bordin on 3/24/2024 in #help
SignalR
const [conn, setConn] = useState<HubConnection | null>(null);

const userId: number = 5;

useEffect(() => {
const startConnection = async () => {
try {
const connection = new HubConnectionBuilder()
.withUrl("https://localhost:7170/Hubs/NotificationHub")
.build();

connection.on("ReceiveNotification", (notification) => {
console.log("Received notification:", notification);
//i suppose receivednotification is like a trigger to post getapi? but that sitll doesnt make sense. because u dont know the exact thing u want to get and ofcourse u wont get everything even the data you received before.
});

await connection.start();
console.log("SignalR Connected");
setConn(connection);
} catch (err) {
console.error("SignalR Connection Error:", err);
}
};

startConnection();


return () => {
if (conn) {
conn.stop();
}
};
const [conn, setConn] = useState<HubConnection | null>(null);

const userId: number = 5;

useEffect(() => {
const startConnection = async () => {
try {
const connection = new HubConnectionBuilder()
.withUrl("https://localhost:7170/Hubs/NotificationHub")
.build();

connection.on("ReceiveNotification", (notification) => {
console.log("Received notification:", notification);
//i suppose receivednotification is like a trigger to post getapi? but that sitll doesnt make sense. because u dont know the exact thing u want to get and ofcourse u wont get everything even the data you received before.
});

await connection.start();
console.log("SignalR Connected");
setConn(connection);
} catch (err) {
console.error("SignalR Connection Error:", err);
}
};

startConnection();


return () => {
if (conn) {
conn.stop();
}
};
10 replies
CC#
Created by Bordin on 2/5/2024 in #help
Models&sql
thank you
56 replies
CC#
Created by Bordin on 2/5/2024 in #help
Models&sql
and start using .select
56 replies
CC#
Created by Bordin on 2/5/2024 in #help
Models&sql
nevermind, but i got your point and ill remove the virtual
56 replies
CC#
Created by Bordin on 2/5/2024 in #help
Models&sql
lol
56 replies