Lex Li
✅ 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
✅ 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
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
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
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
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
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
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
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
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
React + .Net core api issue
Can you see what the logging says? https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/logging-and-diagnostics?view=aspnetcore-9.0#enhanced-diagnostic-logs
16 replies