Menu

Dapper queries in an ASP.NET Core debug dashboard, without wrapping your connections
📰

Dapper queries in an ASP.NET Core debug dashboard, without wrapping your connections

DEV Community: dotnet·EladSer·about 8 hours ago
#XL5uQIcW
#devtodotnet#devto#dev#dapper#dashboard
Long article (631 words) — no AI summary yet.
Reading 0:00
15s threshold

AspNetDebugDashboard is my take on Laravel Telescope for ASP.NET Core. One NuGet package, and in Development you get a page at /_debug with every request your app handled: its SQL queries on a timeline, outgoing HttpClient calls, logs and exceptions.

Until this week the SQL part only saw EF Core, through a DbCommandInterceptor . Dapper and plain ADO.NET queries never showed up, and plenty of apps run their hot paths on Dapper. 2.6 and 2.7 close that gap.

Nothing to set up

The drivers already report their commands, so the dashboard listens instead of asking you to wrap anything:

using var conn = new SqlConnection ( connectionString ) ; // or NpgsqlConnection, MySqlConnection var orders = await conn .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.