Imtiaz
Imtiaz
CC#
Created by workani on 1/9/2025 in #help
✅ Best approach for auth | ASP NET Web Api
The first approach, custom endpoints. The IdentityApiEndPoint is new, and it is just for quick testing/checking out. You can't customize these endpoints.
3 replies
CC#
Created by surwren on 1/8/2025 in #help
Data Retrieval in a SignalR Hub/Service?
I believe, for the concurrent dictionary, you don't need a lock object as it is thread safe. Also, FirstOrDefault is fine, but make sure you register IConnectedClientsService as a singleton not scoped or transient.
9 replies
CC#
Created by workani on 1/6/2025 in #help
Material for learning how to build JWT/OAuth ASP.NET Web API
4 replies
CC#
Created by BondAddict on 12/26/2024 in #help
Does anyone have advice on dealing with Blazor not being reactive out of the box?
EventCallback should be able to do the trick. You can then trigger the refresh UI command in the parent component.
4 replies
CC#
Created by surwren on 12/20/2024 in #help
Controller methods that rely on JWT authentication using another service
Have you considered using middlewares? Implementing a custom middleware could be an ideal solution.
10 replies
CC#
Created by Oliver on 12/18/2024 in #help
Optimizing Large i18n Loading in Blazor
I have previously worked on a similar where we loaded a JSON file on startup. Unfortunately, we could not find an efficient way to speed up this process. As a result, we established a rule that the JSON file should not exceed 2MB. I assume you are engaged in an insurance project.
14 replies
CC#
Created by TheUnquiet on 12/14/2024 in #help
Jwt authorization returning 401 every time
Have you added the bearer token in swagger auth textbox? you have to configure swagger for that. So, when you get token, you have to put that token in the auth textbox, and then you need to hit the authorize endpoint. I am assuming that is the problem here.
4 replies
CC#
Created by Mirrory (Please ping me) on 12/10/2024 in #help
.net identity & new table
4 replies
CC#
Created by Mirrory (Please ping me) on 12/10/2024 in #help
.net identity & new table
I think, you should watch the following tutroial on Auth in aspnet core. These videos are the best IMO on this topic. https://www.youtube.com/watch?v=Fhfvbl_KbWo&list=PLOeFnOV9YBa7dnrjpOG6lMpcyd7Wn7E8V
4 replies
CC#
Created by 𐂃Dreft𐂃 on 12/9/2024 in #help
Collections
In simple words, Dictionaries are built on top of Hash Table data structure, so this is a key, value pair collection. You have to define what kind of key,value pair you will store in the collection. While List, and Collection are built on top of Array.
14 replies
CC#
Created by Jake on 12/1/2024 in #help
Razor Pages Authentication issues
I would strongly suggest checking out "Raw Coding" channel. You will learn so much about authentication. Here is the playlist link https://www.youtube.com/watch?v=ExQJljpj1lY&list=PLOeFnOV9YBa4yaz-uIi5T4ZW3QQGHJQXi
3 replies
CC#
Created by yourFriend on 11/25/2024 in #help
Do C# dev kit extension requires internet connection to work?
I am not seeing this error. Maybe, it's just happening on your machine?
7 replies