Lex Li
Lex Li
CC#
Created by b on 4/18/2025 in #help
✅ Verify Signed Message with Server's Public Key?
Singleton is a design pattern, so search engines can teach you how to implement it in C#. But more practically people use DI/IoC these days, https://learn.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-9.0 and ASP.NET Core supports it natively.
26 replies
CC#
Created by b on 4/18/2025 in #help
✅ Verify Signed Message with Server's Public Key?
By sharing the certs between client/server apps of yours, they can use the right key to sign/verify the data in transfer.
26 replies
CC#
Created by b on 4/18/2025 in #help
✅ Verify Signed Message with Server's Public Key?
If your goal is just to finish the assignment, then you might generate a pair of public/private keys of your own, and store in certificates, https://docs.lextudio.com/blog/simple-public-private-key-signing-sample-code-6f95d19fdbc
26 replies
CC#
Created by AnnaSasDev on 4/18/2025 in #help
Auto Code Cleanup moves top comments in razor file
Bug reports/feature requests of Rider should go to https://youtrack.jetbrains.com/issues/rider You won't often meet JetBrains folks elsewhere. (Similarly if you hit VS issues, you should use the correct Microsoft channels).
4 replies
CC#
Created by Barroso on 4/15/2025 in #help
BCrypt lib functions not working
Then that can be a dead end. AI models have their hallucination, https://en.wikipedia.org/wiki/Hallucination_(artificial_intelligence)
12 replies
CC#
Created by Barroso on 4/15/2025 in #help
BCrypt lib functions not working
If you are following a toturial, then it must have certain steps on how to acquire that dependency. You cannot call a type/method without referencing it properly.
12 replies
CC#
Created by RodF on 4/12/2025 in #help
How can I keep Azure prices down
Microsoft doesn't want to over-bill you either. So various configuration and monitoring tools are available to help you understand your spending. Hope you can explore further and slowly gain your confidence on migrating to the cloud.
20 replies
CC#
Created by RodF on 4/12/2025 in #help
How can I keep Azure prices down
20 replies
CC#
Created by Salakhosh on 4/9/2025 in #help
Help in understanding a concept in SignalR
So did you examine the connection IDs?
6 replies
CC#
Created by Salakhosh on 4/9/2025 in #help
Help in understanding a concept in SignalR
I believe Microsoft documented the timeout values (and other technical details) very well in this old article, https://learn.microsoft.com/en-us/aspnet/signalr/overview/guide-to-the-api/handling-connection-lifetime-events So you might spend some time on it.
6 replies
CC#
Created by Turn2Jesus2 on 4/1/2025 in #help
Why is `dotnet publish` not including Roslyn for my ASP.NET Framework 4.8.1 Web App?
Your only support channel for that is the GitHub repo, https://github.com/CZEMacLeod/MSBuild.SDK.SystemWeb/issues. If you find some useful tips, you might share with the audience there in case they hit the same issue.
27 replies
CC#
Created by Malo on 3/30/2025 in #help
Can't access a function inside a class library
The full name of that function is DiscordLibrary.UsefulFunctions.CreateResponse. Does that work?
11 replies
CC#
Created by Adem on 3/30/2025 in #help
Visual Studio 2022 (0xc0000409) Error Code
If you use Git to manage commits, check what recent changes you made and revert. A .NET app crashes on VC++ runtime related errors isn't trivial to debug so isolating the culprit at first can guide you through.
9 replies
CC#
Created by yourFriend on 3/30/2025 in #help
Error acquiring .NET when offline but works when online in VS Code
That's the behavior of C# Dev Kit which you might want to repor to Microsoft via https://github.com/microsoft/vscode-dotnettools
5 replies
CC#
Created by Geeked on 3/20/2025 in #help
React + .Net core api issue
There might be other tips to improve web app performance and observability, but you can apply them once this urgent issue is resolved.
16 replies
CC#
Created by Geeked on 3/20/2025 in #help
React + .Net core api issue
The proper channel to request technical support (like from Microsoft Support) is to go through a site like https://support.microsoft.com and open a support case. If the symptom is "The API is taking approximately 20-21 minutes to respond", usually hang dump analysis can reveal the culprit in a couple of hours by an experienced professional. You can do the same if you know the tools/profilers and your codebase very well.
16 replies
CC#
Created by Fabbernat on 3/23/2025 in #help
Problems with NVIDIA driver
Alternatively, you can write your own wrapper over Ollama REST API (simplest) or switch to Semantic Kernel (more complex). All depends on your actual application to develop
9 replies
CC#
Created by Geeked on 3/20/2025 in #help
React + .Net core api issue
16 replies