This article was originally published on the ByteAether Blog. It has been republished here with minor edits for clarity and conciseness.
Iβm excited to share a new tool thatβs set to change how we integrate UI components with backend data: QueryLink v1.0.0 by ByteAether. This NuGet package streamlines the process of connecting data grids, tables, and other UI elements to your IQueryable
data sources, reducing boilerplate and allowing you to focus on building great applications.
Whatβs QueryLink?
QueryLink is designed to take the hassle out of common data tasks. It lets you:
- Define Complex Filters: Easily set up filters (e.g., equals, greater than, contains) to refine your data.
- Establish Order Rules: Specify how your data should be sorted without tedious code.
- Customize Behavior: Use expression-based overrides to tailor default filtering and sorting logic to your specific needs.
- Convert to/from Query Strings: Seamlessly integrate with HTTP APIs by converting your definitions to query strings.
- Apply Directly to IQueryable: Enhance your data-access code by applying these definitions directly to your data queries.
Quick Start
Getting started is simple. Just run the command below to install QueryLink via NuGet:
dotnet add package ByteAether.QueryLink
After installation, you can quickly define filters and sort orders. For example, you might create a filter to select users named βJohnβ or sort data by ageβall with minimal setup.
Real-World Impact
QueryLink shines when working with modern .NET projects. Whether youβre using EF Core, Blazor, or integrating with components like MudBlazor DataGrid, QueryLink reduces repetitive query logic, making your code cleaner and your applications more efficient.
Learn More
For a detailed walkthrough of its features and practical usage examples, check out the full announcement on the ByteAether blog.
Happy coding!
Top comments (0)