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)

2 results in tag: log4net

How to log SQL generated by EF using log4net

In my web project I'm using ...EF6... and I'd like to log generated SQL for debugging purpose....I'm also using log4net to handle logs, so I'm looking for a way to integrate them together....What's the correct way to achieve this?
.net c# entity-framework entity-framework-6 log4net
asked by davioooh

Logging Sql queries in log file using EF core and Log4net

I'm trying to log SQL queries into a file using log4net and .NET Core (EF 3.1). ...I tried the following configuration: ...Startup.cs...loggerFactory.AddLog4Net(); ...DBContext.s...private readonly ILoggerFactory _loggerFactory; protected override void ...
.net-core c# entity-framework-core log4net
asked by Steve Cold

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!