OrmSight
EF Core · EF6 · NHibernate · Dapper

See every query your ORM runs. Fix it before production does.

One profiler for EF Core, EF6, NHibernate and Dapper, on .NET 10 or .NET Framework 4.8. Catch N+1s and slow queries locally, block regressions in CI, and get an AI-explained fix for each one.

Runs 100% locally. Your SQL and code never leave your machine.

GET /api/orders · 151 queries · 2.4 s
N+1OrderService.GetAll() · line 42
SELECT * FROM OrderLines WHERE OrderId = @p0 -- repeated 150× in one request
Lines are lazy-loaded inside a loop. Load them with the parent query:
db.Orders .Include(o => o.Lines) .AsSplitQuery() .ToListAsync();
NHibernate.FetchMany(o => o.Lines)
What is an N+1?

One innocent loop. 151 database round trips.

You load 150 orders, then read each order's lines. With lazy loading, every line access sends its own query: 1 for the orders, plus 1 per order. The result is correct, the tests pass, and the endpoint gets slower as your data grows.

Before 151 queries
var orders = await db.Orders.ToListAsync(); // 1 query foreach (var order in orders) { total += order.Lines.Sum(l => l.Price); // +1 query each time }
SELECT * FROM OrderLines WHERE OrderId = 1 SELECT * FROM OrderLines WHERE OrderId = 2 … 148 more
After 2 queries
var orders = await db.Orders .Include(o => o.Lines) // load lines with orders .AsSplitQuery() .ToListAsync(); foreach (var order in orders) { total += order.Lines.Sum(l => l.Price); // in memory }
SELECT * FROM Orders SELECT * FROM OrderLines WHERE OrderId IN (…)
01

OrmSight counts the queries of every request and spots the one repeated 150 times.

02

It points to the line that triggers it, like OrderService.GetAll(), line 42.

03

It gives you the fix for your ORM: Include in EF Core, FetchMany in NHibernate.

Your tests still pass. But one small change just turned 2 queries into 151.

Invisible SQL

LINQ, HQL and lazy loading hide what actually hits the database. Problems show up under load, not in code review.

Regressions slip through CI

A new Include or a projection change adds queries without breaking a single test. Nobody notices until production slows down.

Mixed stacks, scattered tools

New services on EF Core, older ones on EF6 or NHibernate, some Dapper in between. Each needs a different tool today.

How it works

01

Install in two commands

Add the package, then one line to your DbContext or session factory. No code rewrite.

dotnet add package OrmSight.EntityFrameworkCore dotnet tool install -g OrmSight

No installer. Runs on Windows, macOS and Linux, in your browser.

02

Run your app as usual

Run dotnet ormsight dashboard. A local page opens in your browser with each request, its SQL, timings and the exact line of code that sent it.

03

Fix it, then guard it in CI

Each alert comes with an AI explanation and a fix. In CI, any new N+1 fails the build, while existing issues stay in a baseline.

What you get

Every ORM, every .NET version

EF Core on .NET 8 to 10, plus EF6 and NHibernate on .NET Framework, where most tools don't reach. Dapper too.

Alerts that point to code

N+1, slow queries, SELECT *, missing pagination and repeated calls, each linked to the file and line.

AI explanation and fix

Why it's slow and the corrected query for your ORM. Runs on a local model or your own key.

CI guard and PR comments

Query budgets per test, a comment on the pull request that added the N+1, and a baseline so old debt doesn't block you.

Migration audit for legacy apps

Moving off EF6 or NHibernate? Export a report of risky queries, ranked by impact, to scope your move to .NET 10.

Privacy by design

Your data stays on your machine. Nothing leaves.

OrmSight was built for teams that can't send production SQL or source code to a third party.

100% local

The profiler and dashboard run on localhost. No cloud account, no upload, no desktop app to install.

AI off by default

Rules work without AI. Turn it on only if you want, with a local model via Ollama.

Your key, your provider

Prefer a cloud model? Use your own OpenAI, Anthropic or Azure OpenAI key. We never see it.

No parameter values

SQL is normalized before analysis: customer data in query parameters is stripped out.

Simple pricing

Early-access prices. Waitlist members lock them in.

Free

$0

Local profiler for every ORM: SQL, timings, stack traces and basic alerts.

Pro

Most popular
$15 / dev / month

All alerts, AI explanations and fixes, saved sessions.

Team

[PRICE]

CI checks, PR comments, baseline, shared dashboard and the migration audit report.

Take your N+1 to zero.

Join the waitlist and get the free local profiler first. Planning a move off EF6 or NHibernate? Book a free audit call.

Get early access Book a migration audit