LogicBuilder.App.Utils is part of the Logic Builder ecosystem and is a utility library that provides essential classes and helper methods used by business applications to perform routine operations. It maintains reusable functions which the logic builder workflow depends on.
This library simplifies common business application tasks by providing:
- Reusable Components: Common functionality needed across business applications
- Parameter-to-Operator Conversion: Transforms UI-generated parameters from
LogicBuilder.Forms.Parametersinto operator classes - LINQ Expression Generation: Leverages
LogicBuilder.Expressions.Utilsto build type-safe LINQ expressions - Object Mapping: Uses AutoMapper for efficient object-to-object mapping during the transformation process
- ✅ Targets .NET Standard 2.0 for broad compatibility
- ✅ Converts Logic Builder form parameters into executable operators
- ✅ Generates strongly-typed LINQ expressions for querying and filtering
- ✅ Built-in support for owned entity expansion via
OwnedEntityAttribute - ✅ Integrates seamlessly with the Logic Builder ecosystem
Install via NuGet Package Manager:
- dotnet add package LogicBuilder.App.Utils
Or via Package Manager Console:
- Install-Package LogicBuilder.App.Utils
First, use the AddAppUtilsServices() to register dependencies:
services.AddAppUtilsServices(); - AutoMapper
- LogicBuilder.Attributes
- LogicBuilder.Expressions.Utils
- LogicBuilder.Forms.Parameters
- Microsoft.Extensions.Logging.Abstractions
- System.Reflection.Emit
- System.Text.Json
This library is designed for business applications that need to:
- Dynamically construct queries based on runtime criteria
- Generate CRUD operations without writing repetitive boilerplate code
- Build complex filtering, sorting, and projection expressions
- Maintain consistent data access patterns across application layers
A simplified wrapper around HttpClient that provides strongly-typed HTTP operations with built-in JSON serialization/deserialization.
Key Benefits:
- Integrates with
IHttpClientFactoryfor proper HttpClient lifecycle management - Automatic JSON serialization and deserialization
- Strongly-typed request and response handling
- Supports custom
JsonSerializerOptionsfor flexible JSON configuration - Throws
InvalidOperationExceptionon deserialization failures for robust error handling
This library is part of the LogicBuilder ecosystem.
Copyright © BPS 2026
Licensed under the MIT License.
Contributions are welcome! Please feel free to submit issues or pull requests to the GitHub repository.
For questions, issues, or feature requests, please visit the Issues page.