Gergő
Gergő
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
So basically the main idea is that you have a user class and you set up jwt auth through request header and then it’ll try to validate the token in the header based on your setup and then it’ll attach the created user from those details in the jwt(if they can match the provided user class) to the context?
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Hmm okay
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Identity framework is only for server side rendered apps? So it’s not for api’s only? 🤔
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Do you know any good ress to learn identity fw ?
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Yeah, that’s a lot easier to do so 🙂
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Yeah, identity framework is my main concern.. lots of hidden stuffs and kinda obscure the whole thing
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
I’m more interested in jwt stuffs
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Yeah
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
But much easier to setup my own with middlewares
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
I guess it would be ideal to use that
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
I mean the built-in stuff
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
The auth part of the whole .net framework is kinda obscure
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Ah okay
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Or when to make it?
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Is it ideal to make authentication on OnConnection to a Hub?
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
And context is httpContext?
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
Ahhaa
44 replies
CC#
Created by Gergő on 6/17/2023 in #help
❔ signalR add user
And with what data will the client be created?
44 replies
CC#
Created by Gergő on 5/31/2023 in #help
❔ .net web api thread pool size
Aah I see I see
114 replies
CC#
Created by Gergő on 5/31/2023 in #help
❔ .net web api thread pool size
Just trying to understand this: “Unlike an array, however, a Span<T> instance can point to managed memory, native memory, or memory managed on the stack.”
114 replies