peterjohncasasola

Flexible querying for .NET IQueryable — filtering, sorting, paging, projection, validation, and security

11
0
100% credibility
Found May 05, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
C#
AI Summary

FlexQuery.NET is a lightweight .NET library for dynamic filtering, sorting, pagination, and projection on IQueryable data sources like Entity Framework Core.

How It Works

1
📰 Discover FlexQuery

You hear about a handy tool that lets apps handle flexible searches on customer lists or orders without hard-coding every rule.

2
📦 Add to your app

You bring the tool into your project with a quick addition, and it's ready to use right away.

3
🔧 Connect your data

You link it to your list of records, like users or products, so it knows what to search.

4
Build smart searches

You create pages where people can filter by name, sort by date, pick pages of results, or pick just certain details – all from simple requests.

5
🔒 Add safety rules

You set simple limits on what fields can be searched to keep things secure and under control.

🎉 Flexible results flow

Your app now delivers exactly the data people ask for, fast and safe, making users happy with powerful searches.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is FlexQuery.NET?

FlexQuery.NET is a C# library for .NET that turns query strings into secure, EF Core-translatable IQueryable operations—handling filtering, sorting, paging, projection, and validation. It solves the pain of hardcoding API queries by parsing flexible formats like DSL, JQL, JSON, or indexed params into LINQ expressions, keeping everything server-side and SQL-injection-proof. Developers get dynamic querying on any IQueryable without raw SQL or client-side hacks.

Why is it gaining traction?

It stands out with built-in security like field whitelisting and depth limits, plus EF Core extras like filtered includes and expression caching for high-traffic APIs. Multiple query formats mean easy migration from OData or custom strings, and features like aggregates, scoped collection filters, and flat projections handle real-world complexity without bloat. Users notice clean SQL output and validation that catches bad queries early.

Who should use this?

Backend devs building REST APIs with EF Core who need user-driven search, sort, and paginate without boilerplate controllers. Ideal for SaaS dashboards, admin panels, or e-commerce backends where clients send varying filters. Skip if you're locked into GraphQL or raw SQL.

Verdict

Worth a POC for .NET querying needs—docs are thorough with examples, and security/validation are production-ready despite 11 stars and 1.0% credibility score. Still early; watch for more benchmarks and adopters before prime time.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.