EfGumshoe.Extensions.AspCore
6.0.25
dotnet add package EfGumshoe.Extensions.AspCore --version 6.0.25
NuGet\Install-Package EfGumshoe.Extensions.AspCore -Version 6.0.25
<PackageReference Include="EfGumshoe.Extensions.AspCore" Version="6.0.25" />
paket add EfGumshoe.Extensions.AspCore --version 6.0.25
#r "nuget: EfGumshoe.Extensions.AspCore, 6.0.25"
// Install EfGumshoe.Extensions.AspCore as a Cake Addin
#addin nuget:?package=EfGumshoe.Extensions.AspCore&version=6.0.25
// Install EfGumshoe.Extensions.AspCore as a Cake Tool
#tool nuget:?package=EfGumshoe.Extensions.AspCore&version=6.0.25
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 abool
that prevents EF Gumshoe from running if it isfalse
.
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 | Versions 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. |
-
net6.0
- EfGumshoe.Plugin (>= 6.0.21)
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.0.25 | 654 | 3/19/2023 |