ILogger and Null Object Pattern
Learn about using the null object pattern with ILogger and ILoggerFactory to avoid NullReferenceExceptions without forcing implementors to supply logging instances.
Learn about using the null object pattern with ILogger and ILoggerFactory to avoid NullReferenceExceptions without forcing implementors to supply logging instances.
Entity Framework Core (EF) converts expressions into SQL at runtime. In earlier versions, it was straight forward to get the SQL. In Entity Framework Core…
Continue reading → How To Access SQL Generated By Entity Framework Core 3
ILogger is at the heart of the ASP.NET Core infrastructure and works well when you use it correctly. If you approach it the wrong way,…