Remote.Linq
DynamicExpresso
Remote.Linq | DynamicExpresso | |
---|---|---|
3 | 9 | |
304 | 1,847 | |
- | 0.8% | |
7.8 | 4.6 | |
10 days ago | 23 days ago | |
C# | C# | |
MIT License | 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.
Remote.Linq
-
How to store business logic (data validation rules in my case) that can be updated?
I have some experience in this area. JSON Logic let’s you serialize rules in JSON and there implementations in multiple languages. Another option would be Remote.Linq which allows you to serialize a LINQ expression tree to JSON.
-
Dynamically creation some code during runtime
Source generators are really great, but can't be used during run time, like emit can. For example, code generators are good for generating boiler plate code during compile time like this. But emit can be used during run time for things like this.
- Dynamically building Linq queries
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?
System.Linq.Dynamic.Core - The .NET Standard / .NET Core version from the System Linq Dynamic functionality.
Flee - Fast Lightweight Expression Evaluator
dynamic-linq-query-builder - A truly generic and dynamic linq query builder to compliment jQuery QueryBuilder and other dynamic linq query generation needs
ncalc - Mathematical Expressions Evaluator for .NET
Sieve - ⚗️ Clean & extensible Sorting, Filtering, and Pagination for ASP.NET Core
RulesEngine - A Json based Rules Engine with extensive Dynamic expression support
NSpecifications - Specification Pattern for .Net
RulesEngineEditor - Editor for Microsoft RulesEngine - Blazor UI library intended for integration in Web or Desktop
LINQ to Twitter - LINQ Provider for the Twitter API (C# Twitter Library)
ILSpy - .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
NHibernate - NHibernate Object Relational Mapper