Skip to main content

One post tagged with "EASYQUERY"

View All Tags

Adding a visual query builder to an existing ASP.NET Core app

· 9 min read
Serhii Korzh
Team Lead & Maintainer of EasyQuery

A user at a screen building a query, with records flowing from a database through a locked filter into the query builder

Sooner or later someone asks for it: "let users build their own reports". The app it is meant for already exists. It has a DbContext with dozens of entities, cookie or Identity sign-in, a layout, and rules about who may see which rows. This article adds a visual query builder to an app like that: one data model built from the context you already have, one API endpoint and one page. Most of it is about the part that matters in an existing app, which is keeping users inside the permissions the app already enforces.

Adaptive CRUD for ASP.NET Core web apps. 10 minutes to set up. Open-source!