DEV Community

Cover image for How to Inspect the SQL Generated by Entity Framework Core using .NET Core's built in Logging

How to Inspect the SQL Generated by Entity Framework Core using .NET Core's built in Logging

Eamon Keane on May 16, 2020

Today I'm going to show you how to intercept and view the SQL generated by Entity Framework Core. This method takes advantage of Microsoft's built ...
Collapse
 
toastedguy2 profile image
ToastedGuy2 •

Thanks mate. Simple and Consice

Collapse
 
galwaycoder profile image
Eamon Keane •

I'm glad you found it helpful!

Collapse
 
krasni profile image
krasni •

Thank you very much, it works like a charm!

Collapse
 
galwaycoder profile image
Eamon Keane •

You're very welcome

Collapse
 
amsmart profile image
Emmanuel Oluwagbemiga Adebiyi (Smart) •

Awesome tutorial

Collapse
 
galwaycoder profile image
Eamon Keane •

glad it helped you!

Collapse
 
jon001 profile image
jon001 •

Oh my word that is lovely. You've brightened my day, Eamon!

Collapse
 
galwaycoder profile image
Eamon Keane •

Glad it helped!

Collapse
 
night_sampa profile image
Luciano Oiticica Lemgruber •

Thanks.

Collapse
 
riccardo1993 profile image
riccardo1993 •

Thx, it is what I needed!

Collapse
 
galwaycoder profile image
Eamon Keane •

great !

Collapse
 
vasiliyholub1 profile image
vasiliyholub1 •

Thanks. Work from a first time!

Collapse
 
galwaycoder profile image
Eamon Keane •

great stuff! Welcome

Collapse
 
izakntun profile image
Isaac Cantún •

Great tutorial!! very useful! Thank You

Collapse
 
galwaycoder profile image
Eamon Keane •

welcome! Glad it helped

Collapse
 
offirpeer profile image
Offir •

This is not working for me, but I use .netcore 2.x

Collapse
 
galwaycoder profile image
Eamon Keane •

hey, That might be the issue alright. Did you get it resolved in the end?