Because I read about https://devblogs.microsoft.com/dotnet/creating-a-memory-dump-in-csharp/ , I added a POST API to create a memory dump of the current process: POST /api/usefull/takedump/{path}.
It invokes a TakeDump helper that uses MiniDump on Windows and createdump on Linux.
If {path} is omitted, a timestamped .dmp file is written to the app base directory.
Linux requires the createdump utility or appropriate permissions to succeed.
I documented the endpoint in README and added a short usage note.
This is useful for diagnosing memory and crash issues in production or CI. Use with care: protect the endpoint with authorization and CORS.
NuGet: https://www.nuget.org/packages/NetCoreUsefullEndpoints
GitHub : https://github.com/ignatandrei/NetCoreUsefullEndpoints