EfGumshoe.Plugin 6.0.21

dotnet add package EfGumshoe.Plugin --version 6.0.21
NuGet\Install-Package EfGumshoe.Plugin -Version 6.0.21
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EfGumshoe.Plugin" Version="6.0.21" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EfGumshoe.Plugin --version 6.0.21
#r "nuget: EfGumshoe.Plugin, 6.0.21"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EfGumshoe.Plugin as a Cake Addin
#addin nuget:?package=EfGumshoe.Plugin&version=6.0.21

// Install EfGumshoe.Plugin as a Cake Tool
#tool nuget:?package=EfGumshoe.Plugin&version=6.0.21

EF Gumshoe


EF Gumshoe is a Windows desktop app which provides an overview over the SQL queries Entity Framework Core generates.

This helps identifying issues like comparably slow queries, or N+1 errors more easily than with the logging output EF provides out of the box.

Requirements

  • .NET 6.0 and up
  • Windows 10 and up for the desktop application

Installation

Install Ef Gumshoe with NuGet:

Install-Package EfGumshoe.Extensions.AspCore

Or via the .NET Core command line interface:

dotnet add package EfGumshoe.Extensions.AspCore

Usage

Add EF Gumshoe to your dependencies:

builder.Services.AddEfGumshoe();

Then use it when setting up your DB:

builder.Services
    .AddDbContext<MyDbContext>(
        (provider, options) =>
            options
                .UseEfGumshoe(provider, builder.Environment.IsDevelopment())
    );

SQL statements sent by the web app should then be sent to the desktop app.

❗ The second parameter for UseEfGumshoe() is a bool that prevents EF Gumshoe from running if it is false.
It is highly recommended to not run EF Gumshoe in production, like in the example above.

Wiki

Downloads for the desktop app and more documentation can be found in the wiki.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on EfGumshoe.Plugin:

Package Downloads
EfGumshoe.Extensions.AspCore

EF Gumshoe is a Windows desktop app which provides an overview over the SQL queries Entity Framework Core generates.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.21 1,157 3/19/2023