EF Core Query Plans in Rider: EFCore Visualizer 1.0

Nov 30, 2026·
Giorgi Dalakishvili
Giorgi Dalakishvili
· 5 min read
blog Entity Framework

Installing EFCore Visualizer for Rider

Earlier this month I released EFCore Visualizer for VS Code, which shows the execution plan of an Entity Framework Core query while you debug, the same way the Visual Studio extension has done since 2024. Plenty of .NET developers use JetBrains Rider, though, so the visualizer is now available for Rider too. EFCore Visualizer 1.0 is on the JetBrains Marketplace, and it shows the same plan pages for SQL Server, PostgreSQL, Oracle and SQLite.

To install it, open Settings | Plugins | Marketplace in Rider, search for “EFCore Visualizer” and click Install.

The plugin needs Rider 2026.2 or newer. Your app needs EF Core 7 or newer, on .NET 6 or newer. The plugin calls methods in your app to get the plan, so Allow property evaluations and other implicit function calls must be on in Settings | Build, Execution, Deployment | Debugger. It’s on by default.

Viewing a query plan

Let’s say you have a query like this:

var recentPosts = context.Posts
    .Where(p => p.Blog.Rating >= 4 && p.PublishedOn >= since)
    .OrderByDescending(p => p.PublishedOn)
    .Select(p => new { p.Title, p.PublishedOn, BlogUrl = p.Blog.Url });

Put a breakpoint after it and start debugging. When the app stops, every EF Core query gets a Visualize Query Plan link at the end of its row. The link is in the editor’s hover popup, in Variables and Watches, and in Evaluate Expression:

The editor’s hover popup on recentPosts, with the Visualize Query Plan link after the query’s type
The recentPosts row in Variables, with the Visualize Query Plan link at its end

If you prefer menus, select the query in Variables or Watches and click the Visualize Query Plan button on the view’s toolbar, or right-click it and choose Visualize Query Plan. The plan opens in an editor tab:

A PostgreSQL execution plan in a Rider editor tab named Query Plan: recentPosts, in the dark theme

Rider shows only one link at the end of a row. On queries that link is usually Explore, which runs the query and shows its rows. On EF Core queries the plugin’s link takes its place. Other queries, like an in-memory IQueryable, keep Explore:

Variables with Visualize Query Plan on each EF Core query, and Rider’s Explore on an in-memory IQueryable

The rows are still there. Expand the query and then Results, the same as without the plugin.

One tab per query

Each variable gets its own tab, so you can open the plans of two queries and compare them. When you visualize a variable again, its tab comes to the front, and if the query changed in the meantime, the tab gets the new plan.

The page uses Rider’s light or dark theme and the editor’s background, so it looks like the rest of the IDE:

A SQL Server execution plan in a Rider editor tab, in the light theme

Actual execution plans and the evaluation timeout

For SQL Server, PostgreSQL and Oracle, the plugin shows the actual execution plan, with real row counts and timings. To get it, the plugin runs the query in your app, on the app’s own connection and transaction. For SQLite it asks for EXPLAIN QUERY PLAN, and the query doesn’t run.

Rider stops an evaluation after 1 second by default, which is too short for many queries. While it gets a plan, the plugin raises the limit to 30 seconds for the debug session, or keeps yours if it’s higher, and puts it back when it’s done. Your saved setting doesn’t change. The query can’t be cancelled, though, and your app stays paused until it finishes.

When the plugin can’t get the plan, it shows the query’s SQL in the tab instead, and a warning tells you why.

How it works

Rider plugins usually come in two parts: a frontend written in Kotlin or Java, and a backend written in C# that runs in Rider’s ReSharper process. This plugin has only the frontend. It asks the debugger to evaluate C# expressions in the paused app, the same way Watches and Evaluate Expression do.

The first expression loads a helper DLL into your app:

System.Reflection.Assembly.LoadFrom(@"C:\Users\you\AppData\Local\JetBrains\Rider2026.2\efcore-visualizer\5d1f0c8a9b3e27a4\netcoreapp\EFCore.Visualizer.Core.dll")

The app keeps the DLL open as long as it runs, and on Windows that locks the file. If the plugin loaded the DLL from its own folder, a running app would make the next plugin update fail. That’s why the plugin loads it from a copy in Rider’s system folder, with one folder per plugin version.

Once the helper is loaded, the plugin passes your variable to it:

IQueryableObjectSource.QueryPlanHelper.GetPlanFile(recentPosts)

This is the same helper the Visual Studio and VS Code extensions use. It asks the database for the plan, puts the plan into a page and writes the page to a temporary file. The VS Code post shows its code. The evaluated expression returns the file’s path, and the plugin opens the page in an editor tab with Rider’s embedded browser.

Because the helper writes the page in your app’s temporary folder and Rider reads it from there, your app must run on the same machine as Rider. Debugging an app in Docker, in WSL or on another machine isn’t supported yet. .NET Framework apps aren’t supported either, because the helper targets .NET 6.

Feedback

If something doesn’t work, or you’d like a feature, please open an issue. A rating on the JetBrains Marketplace and a star on the repository help other people find it. To tell someone about it, link to visualizer.giorgi.dev, which has the install links for Visual Studio, VS Code and Rider.

Giorgi Dalakishvili
Authors
Backend Engineer & Software Architect · 3x Microsoft MVP · International Speaker

I’m a backend engineer and software architect with 17+ years of .NET, mostly in banking and fintech: payment and transaction processing, public APIs, and the internal platforms other teams build on. I’ve led teams and a platform unit, and I stay hands-on in the code, increasingly through AI coding agents like Claude Code and Codex.

Alongside that, I build open-source .NET libraries and developer tools with 48M+ NuGet downloads: DuckDB.NET, EntityFramework.Exceptions, EFCore.Visualizer and others. That work sits where .NET meets the database: native interop, Native AOT extensions for DuckDB and PostgreSQL, and tooling that makes query plans easier to debug. I also speak about .NET and databases at conferences like NDC, KCDC and .NET Conf.