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)

7 results in tag: logging

ASP.NET Core 1.0 logging

I have ...ASP.NET Core web api... project. Now I want to ...log... the errors and events. I previously used ELMAH in my project but it seems that elmah is not available for ASP.NET Core. I referred to ...this Official link... for configuring the default...
asp.net-core asp.net-core-logging entity-framework-core logging serilog
asked by Avi-B

Hooking IDbInterceptor to EntityFramework DbContext only once

The ...IDbCommandInterceptor... interface is not very well documented. And I've only found a few scarce tutorials on it:...http://www.entityframeworktutorial.net/entityframework6/database-command-interception.aspx...https://msdn.microsoft.com/en-us/data/j...
c# entity-framework entity-framework-6 interceptor logging
asked by Aske B.

Entity Framework Core: Log queries for a single db context instance

Using EF Core (or any ORM for that matter) I want to keep track of the number of queries the ORM makes to the database during some operation in my software....I've used SQLAlchemy under Python earlier, and on that stack this is faily easy to set up. I typ...
c# entity-framework-core logging unit-testing xunit
asked by codeape

Why is asp.net core logging not filtering by categories that begin with?

I'm using EF Core and it logs quite a few "info" level messages on application start that I want to filter out. The ...docs... imply that a filtering rule specifying a category should match all categories starting with that category (i.e. ..."Microsoft"..
asp.net-core entity-framework-core logging
asked by pere57

Entity Framework Hangs After Query Completes Before Connection is Closed

I am trying to improve performance of a relatively complicated entity framework query. Using the ...DbContext.Database.Log... action I examined the ouput while executing my main query of interest and I noticed something odd. According to the log, the quer...
c# entity-framework entity-framework-6 logging sql-server
asked by Robin Lashof-Regas

EF Core - ChangeTracker.DetectChanges get value from specific property

I need to get the value of a property from a relationship in EF's ChangeTracker....I have the class:...public class ClienteInfo { public Guid Id { get; set; } public Guid IdTipoCliente { get; set; } public string Nome { get; set; } public ...
audit-trail entity-framework-core logging
asked by Paulo Alexandre

Logging query duration with EF Core

In an attempt to log time spent on SQL Server queries in an ASP.NET Core web application I've been using the following code, having subscribed to all ...DiagnosticListeners... in some middleware and using the ...Observable... below. ...I'm not sure this i...
asp.net-core asp.net-core-mvc entity-framework entity-framework-core logging
asked by JLo

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!