senrecep/CSharpEssentials — reverse-engineered prompt
Reverse engineered prompt
Build me a modular .NET library suite called CSharpEssentials for modern C#. I want it to feel like a practical toolbox that makes everyday backend code cleaner by mixing normal object oriented C# with functional style patterns.
The main thing should be easy, explicit error handling without relying on exceptions, plus optional values, typed union style results, structured errors, validation, and some core utility helpers. On top of that, add separate modules for ASP.NET Core, EF Core, mediator style request pipelines, HTTP helpers that return results, resilience features like retry and timeout, JSON defaults, request and response logging, rules, entities with domain events and soft delete, enum to string helpers, cloning, time abstraction, and a GCP Secret Manager configuration provider.
Please make it a real reusable package ecosystem with a main meta package and individual packages, solid tests, examples, and clear docs so someone can pick only what they need. Target current .NET versions and keep it production ready. Look up current docs online if you need to.
Want more depth? Deep Reverse