zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

4 results in tag: nlog

Register NLog target (with dependencies) with ASP.NET Core's DI

I'm using the latest NLog, ASP.NET Core, EF Core....I wrote a custom log target which saves via EF:...public class MyEFTarget : TargetWithLayout { private readonly IMyContext _context; public MyEFTarget(IMyContext context) : base() { ...
asp.net-core c# entity-framework-core nlog
asked by grokky

Logging sql query parameter values

I use nlog and following setting to log sql queries:...<logger name="Microsoft.EntityFrameworkCore.*" minlevel="Trace" writeTo="sqllogfile" final="true" /> ...It works as expected, but doesn't log parameter values, the queries look like this:...2...
.net entity-framework-core nlog
asked by myro

Logging Generated SQL with EF Core 2 and Nlog

I'm getting a little confused with how to log the generated SQL with asp.net core 2 and EntityFrameworkCore 2 and the correct way to go about it....After reading the this ...link... from the MS docs it is saying that I should add during the services confi...
asp.net-core c# entity-framework-core nlog
asked by Matthew Flynn

How to log Entity Framework Core operations by NLog

I would like to use NLog to log SQL queries from Entity Framework Core in a manner similar to WebApi Core. How can I set it up?
.net-core entity-framework-core entity-framework-core-2.1 nlog
asked by Mikhail

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!