Skip to content

PepperX-Dev/QueryForge

Repository files navigation

Part of PepperX Ecosystem

QueryForge

The QueryForge Ecosystem

A high-performance, provider-agnostic query engine for the .NET ecosystem.
Build dynamic, paginated, and hierarchically grouped queries with a fluent API — execute anywhere.

GitHub NuGet License


🧩 The QueryForge Suite

QueryForge is a modular query engine. It decouples the intent of a query from its execution, allowing you to define your query once and run it against multiple data sources through different providers.

Package Description Status NuGet
PepperX.QueryForge The abstract, provider-agnostic foundation of QueryForge. It provides the core models (Query), fluent builders, and bulletproof validation engines required to construct dynamic, paginated, and hierarchically grouped queries. ✅ Released NuGet
PepperX.QueryForge.Dapper High-performance execution provider for Dapper. Translates abstract query models into optimized SQL, seamlessly handling hierarchical grouping, complex filtering, and Stored Procedure/TVF integration. ✅ Released NuGet
PepperX.QueryForge.EFCore Entity Framework Core execution provider for QueryForge. 🔧 Dev Coming Soon
PepperX.QueryForge.InMemory In-memory execution provider designed for IEnumerable based types without database dependencies. 📋 Planned Coming Soon

🏛️ Architecture & Philosophy

QueryForge is built around a core set of engineering principles:

  • 🛡️ Security by Default: Built-in validation engines (SilentStrip or ThrowException) prevent schema enumeration, data dumps, and malicious payloads.
  • 🧩 Provider-Agnostic Core: Define your query intent once using the abstract Query model, and execute it anywhere.
  • 🔄 Automated CI/CD: All packages are built, tested, and published via GitHub Actions using OIDC Trusted Publishing.

📂 Repository Structure

This repository is an Umbrella Monorepo.

  • /src: Contains the source code for all QueryForge libraries. Each library folder contains its own dedicated README.md with deep-dive technical documentation, C# examples, and API references.
  • /tests: Comprehensive xUnit test suites ensuring bulletproof reliability across all engines.
  • /samples: Runnable ASP.NET Core Minimal API projects demonstrating real-world integration.

🤝 Contributing & License

Contributions, issues, and feature requests are welcome!

Unless otherwise specified, all packages in QueryForge are licensed under the MIT License — see the LICENSE file for details.


Engineered with ❤️ and C# by PepperX-Dev

About

Define your query once. Filter, sort, page, group — get back a standard result, whether you're on Dapper, EF Core, or in-memory data.

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages