<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rider | Giorgi Dalakishvili</title><link>https://www.giorgi.dev/tags/rider/</link><atom:link href="https://www.giorgi.dev/tags/rider/index.xml" rel="self" type="application/rss+xml"/><description>Rider</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Mon, 30 Nov 2026 10:00:00 +0400</lastBuildDate><image><url>https://www.giorgi.dev/media/sharing.jpg</url><title>Rider</title><link>https://www.giorgi.dev/tags/rider/</link></image><item><title>EF Core Query Plans in Rider: EFCore Visualizer 1.0</title><link>https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/</link><pubDate>Mon, 30 Nov 2026 10:00:00 +0400</pubDate><guid>https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/</guid><description>&lt;h2 id="installing-efcore-visualizer-for-rider"&gt;Installing EFCore Visualizer for Rider&lt;/h2&gt;
&lt;p&gt;Earlier this month I released
, which shows the execution plan of an Entity Framework Core query while you debug, the same way the
has done since 2024. Plenty of .NET developers use JetBrains Rider, though, so the visualizer is now available for Rider too.
is on the JetBrains Marketplace, and it shows the same plan pages for SQL Server, PostgreSQL, Oracle and SQLite.&lt;/p&gt;
&lt;p&gt;To install it, open &lt;strong&gt;Settings | Plugins | Marketplace&lt;/strong&gt; in Rider, search for &amp;ldquo;EFCore Visualizer&amp;rdquo; and click &lt;strong&gt;Install&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;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 &lt;strong&gt;Allow property evaluations and other implicit function calls&lt;/strong&gt; must be on in &lt;strong&gt;Settings | Build, Execution, Deployment | Debugger&lt;/strong&gt;. It&amp;rsquo;s on by default.&lt;/p&gt;
&lt;h2 id="viewing-a-query-plan"&gt;Viewing a query plan&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s say you have a query like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-csharp" data-lang="csharp"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kt"&gt;var&lt;/span&gt; &lt;span class="n"&gt;recentPosts&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Posts&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="p"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Blog&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Rating&lt;/span&gt; &lt;span class="p"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="m"&gt;4&lt;/span&gt; &lt;span class="p"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;PublishedOn&lt;/span&gt; &lt;span class="p"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;since&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OrderByDescending&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="p"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;PublishedOn&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Select&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="p"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;PublishedOn&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;BlogUrl&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Blog&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Url&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Put a breakpoint after it and start debugging. When the app stops, every EF Core query gets a &lt;strong&gt;Visualize Query Plan&lt;/strong&gt; link at the end of its row. The link is in the editor&amp;rsquo;s hover popup, in &lt;strong&gt;Variables&lt;/strong&gt; and &lt;strong&gt;Watches&lt;/strong&gt;, and in &lt;strong&gt;Evaluate Expression&lt;/strong&gt;:&lt;/p&gt;
&lt;div class="side-by-side"&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The editor&amp;rsquo;s hover popup on recentPosts, with the Visualize Query Plan link after the query&amp;rsquo;s type"
srcset="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/visualize-hover_hu_42748508af2f5685.webp 320w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/visualize-hover_hu_85de7338d513c2fd.webp 480w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/visualize-hover_hu_f3b4e6f277abeb73.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/visualize-hover_hu_42748508af2f5685.webp"
width="760"
height="96"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="The recentPosts row in Variables, with the Visualize Query Plan link at its end"
srcset="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/visualize-variables_hu_80f7a72836815ee6.webp 320w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/visualize-variables_hu_66bed81774992c5f.webp 480w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/visualize-variables_hu_f87ccc9cf69d303c.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/visualize-variables_hu_80f7a72836815ee6.webp"
width="760"
height="110"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/div&gt;
&lt;p&gt;If you prefer menus, select the query in Variables or Watches and click the &lt;strong&gt;Visualize Query Plan&lt;/strong&gt; button on the view&amp;rsquo;s toolbar, or right-click it and choose &lt;strong&gt;Visualize Query Plan&lt;/strong&gt;. The plan opens in an editor tab:&lt;/p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="A PostgreSQL execution plan in a Rider editor tab named Query Plan: recentPosts, in the dark theme"
srcset="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/postgresql-plan_hu_92b928d882e7afde.webp 320w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/postgresql-plan_hu_48fa60b5e5b282d3.webp 480w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/postgresql-plan_hu_1cfef8aaba3664ba.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/postgresql-plan_hu_92b928d882e7afde.webp"
width="760"
height="394"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;h2 id="the-link-replaces-explore"&gt;The link replaces Explore&lt;/h2&gt;
&lt;p&gt;Rider shows only one link at the end of a row. On queries that link is usually &lt;strong&gt;Explore&lt;/strong&gt;, which runs the query and shows its rows. On EF Core queries the plugin&amp;rsquo;s link takes its place. Other queries, like an in-memory &lt;code&gt;IQueryable&lt;/code&gt;, keep Explore:&lt;/p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Variables with Visualize Query Plan on each EF Core query, and Rider&amp;rsquo;s Explore on an in-memory IQueryable"
srcset="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/link-and-explore_hu_521b5df9f3e9dd7e.webp 320w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/link-and-explore_hu_170a63f6ab8435e4.webp 480w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/link-and-explore_hu_5c451bea5fe338cf.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/link-and-explore_hu_521b5df9f3e9dd7e.webp"
width="760"
height="164"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;p&gt;The rows are still there. Expand the query and then &lt;strong&gt;Results&lt;/strong&gt;, the same as without the plugin.&lt;/p&gt;
&lt;h2 id="one-tab-per-query"&gt;One tab per query&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;The page uses Rider&amp;rsquo;s light or dark theme and the editor&amp;rsquo;s background, so it looks like the rest of the IDE:&lt;/p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="A SQL Server execution plan in a Rider editor tab, in the light theme"
srcset="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/sqlserver-plan-light_hu_6a1e2e8d15dce562.webp 320w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/sqlserver-plan-light_hu_d29f538f3a936083.webp 480w, https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/sqlserver-plan-light_hu_11cd9a4512c5ab07.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://www.giorgi.dev/entity-framework/efcore-visualizer-for-rider/sqlserver-plan-light_hu_6a1e2e8d15dce562.webp"
width="760"
height="239"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;h2 id="actual-execution-plans-and-the-evaluation-timeout"&gt;Actual execution plans and the evaluation timeout&lt;/h2&gt;
&lt;p&gt;For SQL Server, PostgreSQL and Oracle, the plugin shows the &lt;em&gt;actual&lt;/em&gt; execution plan, with real row counts and timings. To get it, the plugin runs the query in your app, on the app&amp;rsquo;s own connection and transaction. For SQLite it asks for &lt;code&gt;EXPLAIN QUERY PLAN&lt;/code&gt;, and the query doesn&amp;rsquo;t run.&lt;/p&gt;
&lt;p&gt;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&amp;rsquo;s higher, and puts it back when it&amp;rsquo;s done. Your saved setting doesn&amp;rsquo;t change. The query can&amp;rsquo;t be cancelled, though, and your app stays paused until it finishes.&lt;/p&gt;
&lt;p&gt;When the plugin can&amp;rsquo;t get the plan, it shows the query&amp;rsquo;s SQL in the tab instead, and a warning tells you why.&lt;/p&gt;
&lt;h2 id="how-it-works"&gt;How it works&lt;/h2&gt;
&lt;p&gt;Rider plugins usually come in two parts: a frontend written in Kotlin or Java, and a backend written in C# that runs in Rider&amp;rsquo;s ReSharper process. This plugin has only the frontend. It asks the debugger to evaluate C# expressions in the paused app, the same way &lt;strong&gt;Watches&lt;/strong&gt; and &lt;strong&gt;Evaluate Expression&lt;/strong&gt; do.&lt;/p&gt;
&lt;p&gt;The first expression loads a helper DLL into your app:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-csharp" data-lang="csharp"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;System&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Reflection&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Assembly&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;LoadFrom&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;@&amp;#34;C:\Users\you\AppData\Local\JetBrains\Rider2026.2\efcore-visualizer\5d1f0c8a9b3e27a4\netcoreapp\EFCore.Visualizer.Core.dll&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;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&amp;rsquo;s why the plugin loads it from a copy in Rider&amp;rsquo;s system folder, with one folder per plugin version.&lt;/p&gt;
&lt;p&gt;Once the helper is loaded, the plugin passes your variable to it:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-csharp" data-lang="csharp"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;IQueryableObjectSource&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;QueryPlanHelper&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;GetPlanFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;recentPosts&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;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
shows its code. The evaluated expression returns the file&amp;rsquo;s path, and the plugin opens the page in an editor tab with Rider&amp;rsquo;s embedded browser.&lt;/p&gt;
&lt;p&gt;Because the helper writes the page in your app&amp;rsquo;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&amp;rsquo;t supported yet. .NET Framework apps aren&amp;rsquo;t supported either, because the helper targets .NET 6.&lt;/p&gt;
&lt;h2 id="feedback"&gt;Feedback&lt;/h2&gt;
&lt;p&gt;If something doesn&amp;rsquo;t work, or you&amp;rsquo;d like a feature, please
. A rating on the
and a star on the repository help other people find it. To tell someone about it, link to
, which has the install links for Visual Studio, VS Code and Rider.&lt;/p&gt;</description></item><item><title>Entity Framework Core Query Plan Visualizer</title><link>https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/</link><pubDate>Wed, 07 Feb 2024 11:56:59 +0400</pubDate><guid>https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/</guid><description>&lt;p&gt;A debugger visualizer that helps you analyze and understand Entity Framework Core query plans while you debug, in Visual Studio, Visual Studio Code and JetBrains Rider. Get instant insights into how your LINQ queries are translated to SQL and how they perform. Supported Databases: SQL Server, PostgreSQL, SQLite and Oracle, and MySQL in Visual Studio.&lt;/p&gt;
&lt;h2 id="getting-started"&gt;Getting Started&lt;/h2&gt;
&lt;p&gt;The
shows it in each IDE, with the install link for each.&lt;/p&gt;
&lt;h3 id="visual-studio"&gt;Visual Studio&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Install the extension from the
&lt;/li&gt;
&lt;li&gt;Debug your application&lt;/li&gt;
&lt;li&gt;Hover over any IQueryable variable to view its execution plan&lt;/li&gt;
&lt;li&gt;Click the magnifying glass icon to open the query plan visualizer&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="vs-code"&gt;VS Code&lt;/h3&gt;
&lt;p&gt;Install
from the Visual Studio Marketplace.
shows how to use it.&lt;/p&gt;
&lt;h3 id="rider"&gt;Rider&lt;/h3&gt;
&lt;p&gt;Install
from the JetBrains Marketplace.
shows how to use it.&lt;/p&gt;
&lt;div class="post-gallery"&gt;
&lt;a href="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/MS%20SqlServerDarkMode.png" target="_blank" rel="noopener"&gt;
&lt;img src="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/MS%20SqlServerDarkMode_hu_a0cad970032d79f0.webp" alt="" width="438" height="220" loading="lazy" decoding="async"&gt;
&lt;/a&gt;
&lt;a href="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/MS%20SqlServerLightMode.png" target="_blank" rel="noopener"&gt;
&lt;img src="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/MS%20SqlServerLightMode_hu_19e77d77c723d95f.webp" alt="" width="485" height="220" loading="lazy" decoding="async"&gt;
&lt;/a&gt;
&lt;a href="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/MySqlDarkMode.png" target="_blank" rel="noopener"&gt;
&lt;img src="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/MySqlDarkMode_hu_fb75e62b1d623a56.webp" alt="" width="365" height="220" loading="lazy" decoding="async"&gt;
&lt;/a&gt;
&lt;a href="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/MySqlLightMode.png" target="_blank" rel="noopener"&gt;
&lt;img src="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/MySqlLightMode_hu_745b12e5e0fb1a40.webp" alt="" width="366" height="220" loading="lazy" decoding="async"&gt;
&lt;/a&gt;
&lt;a href="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/PostgreSQLPlan1.png" target="_blank" rel="noopener"&gt;
&lt;img src="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/PostgreSQLPlan1_hu_72e7c5f54155151e.webp" alt="" width="428" height="220" loading="lazy" decoding="async"&gt;
&lt;/a&gt;
&lt;a href="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/PostgreSQLPlan2.png" target="_blank" rel="noopener"&gt;
&lt;img src="https://www.giorgi.dev/portfolio/efcore-query-plan-visualizer/gallery/PostgreSQLPlan2_hu_dd3347be5c24bb8c.webp" alt="" width="374" height="220" loading="lazy" decoding="async"&gt;
&lt;/a&gt;
&lt;/div&gt;</description></item></channel></rss>