dynamic-linq-query-builder
DynamicExpresso
Our great sponsors
dynamic-linq-query-builder | DynamicExpresso | |
---|---|---|
2 | 9 | |
247 | 1,843 | |
1.6% | 2.5% | |
6.7 | 4.6 | |
8 months ago | 20 days ago | |
C# | C# | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dynamic-linq-query-builder
- Dynamically building Linq queries
-
Build dynamic Linq filters (aka. where() predicates)
I ran into this use case a while ago, and I saw a similar inplementation under the jquery UI query builder plugin. https://querybuilder.js.org/. There's an inplementation for .net on the site. https://github.com/castle-it/dynamic-linq-query-builder. Fast foward to today, I no longer use this approach and switched to OData. The backend expose a queryable dataset. Frontend just need to build the querystring to hit the backend Odata api endpoint. I think this approach is much cleaner.
DynamicExpresso
- Is there any easy way to call a variable through a string?
- Computing a formula in a string
- Dynamically building Linq queries
-
How to call a variable from a string, if that make sense lol
Checkout https://github.com/dynamicexpresso/DynamicExpresso
-
Made a small project for compiling c# at runtime and then using the resulting dll(at runtime)
Have you looked at something like DynamicExpresso or Roslyn Scripting?
- Long lasting solution for dynamic Expression execution
-
A question about C#!!
I have used DynamicExpresso for that, works great and is easy to use.
-
Converting strings to integers
And if you don't want to write it yourself, you use a library. I was always quite happy with Expresso, but as it is not JUST a parser for math expressions, you might need to look into security of executing unknown user input.
What are some alternatives?
LINQKit - LINQKit is a free set of extensions for LINQ to SQL and Entity Framework power users.
Flee - Fast Lightweight Expression Evaluator
Sieve - ⚗️ Clean & extensible Sorting, Filtering, and Pagination for ASP.NET Core
ncalc - Mathematical Expressions Evaluator for .NET
System.Linq.Dynamic.Core - The .NET Standard / .NET Core version from the System Linq Dynamic functionality.
RulesEngine - A Json based Rules Engine with extensive Dynamic expression support
Remote.Linq - Simply LINQ your remote resources...
RulesEngineEditor - Editor for Microsoft RulesEngine - Blazor UI library intended for integration in Web or Desktop
NSpecifications - Specification Pattern for .Net
ILSpy - .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
NReco LambdaParser - Runtime parser for string expressions (formulas, method calls). Builds dynamic LINQ expression tree and compiles it to lambda delegate.