All Projects → VahidN → Dntprofiler

VahidN / Dntprofiler

Licence: apache-2.0
DNTProfiler is an EF 6.x and NH 4.x profiler.

Projects that are alternatives of or similar to Dntprofiler

Entityframework.lazyloading
LazyLoading for EF Core
Stars: ✭ 23 (-61.02%)
Mutual labels:  entity-framework
Php Spx
A simple & straight-to-the-point PHP profiling extension with its built-in web UI
Stars: ✭ 972 (+1547.46%)
Mutual labels:  profiler
Stackimpact Nodejs
DEPRECATED StackImpact Node.js Profiler - Production-Grade Performance Profiler: CPU, memory allocations, async calls, errors, metrics, and more
Stars: ✭ 46 (-22.03%)
Mutual labels:  profiler
Py Spy
Sampling profiler for Python programs
Stars: ✭ 7,709 (+12966.1%)
Mutual labels:  profiler
Scout apm elixir
ScoutAPM Elixir Agent. Supports Phoenix and other frameworks.
Stars: ✭ 33 (-44.07%)
Mutual labels:  profiler
Ecs Snake
Simple snake game powered by ecs framework.
Stars: ✭ 41 (-30.51%)
Mutual labels:  entity-framework
Entityframework.docs
Documentation for Entity Framework Core and Entity Framework 6
Stars: ✭ 888 (+1405.08%)
Mutual labels:  entity-framework
Linq.translations
Declare properties on an object that can be translated by LINQ
Stars: ✭ 51 (-13.56%)
Mutual labels:  entity-framework
Samp Plugin Profiler
Performance profiler plugin for SA-MP server
Stars: ✭ 33 (-44.07%)
Mutual labels:  profiler
Aspnetmvcactivedirectoryowin
ASP.Net MVC with Active Directory Authentication using Owin Middleware
Stars: ✭ 44 (-25.42%)
Mutual labels:  entity-framework
System.linq.dynamic.core
The .NET Standard / .NET Core version from the System Linq Dynamic functionality.
Stars: ✭ 864 (+1364.41%)
Mutual labels:  entity-framework
Sol Profiler
CLI Tool to List & Store Solidity Smart Contract Methods Attributes
Stars: ✭ 20 (-66.1%)
Mutual labels:  profiler
Android Methods Profiler
Yet another Android Profiler for AOSP .trace files
Stars: ✭ 43 (-27.12%)
Mutual labels:  profiler
Rsvp
rsvp - Realtime Sampling Visual Profiler
Stars: ✭ 26 (-55.93%)
Mutual labels:  profiler
Efcore.demo
Projetos com os novos recursos do Entity Framework Core
Stars: ✭ 50 (-15.25%)
Mutual labels:  entity-framework
Entity Framework Code First Succinctly
This is the companion repo for Entity Framework Code First Succinctly by Ricardo Peres. Published by Syncfusion.
Stars: ✭ 18 (-69.49%)
Mutual labels:  entity-framework
Eluaprofiler
Easy LuaProfiler
Stars: ✭ 38 (-35.59%)
Mutual labels:  profiler
Profimp
Python import profiler
Stars: ✭ 52 (-11.86%)
Mutual labels:  profiler
Decision
Simple Decision System
Stars: ✭ 50 (-15.25%)
Mutual labels:  entity-framework
Nanoscope
An extremely accurate Android method tracing tool.
Stars: ✭ 1,023 (+1633.9%)
Mutual labels:  profiler

DNTProfiler

DNTProfiler is an EntityFramework 6.x and NHibernate 4.x profiler.

DNTProfiler for EF 6.x

Install via NuGet

To install DNTProfiler for EF 6.x, run the following command in the Package Manager Console:

PM> Install-Package DNTProfiler.EntityFramework.Core

You can also view the package page on NuGet.

Usage

  • To start using DNTProfiler.EntityFramework.Core package, add the following lines to app.config/web.config file:
<configuration>
  <entityFramework>
    <interceptors>
      <interceptor type="DNTProfiler.EntityFramework.Core.DatabaseLogger, DNTProfiler.EntityFramework.Core">
        <parameters>
          <parameter value="http://localhost:8080" />
          <parameter value="|DataDirectory|\ErrorsLog.Log" />
        </parameters>
      </interceptor>
    </interceptors>
  </entityFramework>
</configuration>
  • To disable the DNTProfiler.EntityFramework.Core, just remove or comment out the above settings.
  • To view its real-time collected information and reports, you need to download the DNTProfiler application too. You can download it from here.

DNTProfiler for NHibernate 4.x

Install via NuGet

To install DNTProfiler for NH 4.x, run the following command in the Package Manager Console:

PM> Install-Package DNTProfiler.NHibernate.Core

You can also view the package page on NuGet.

Usage

  • To start using DNTProfiler.NHibernate.Core package, add the following lines to app.config/web.config file:
<appSettings>
    <add key="DNTProfilerServerUri" value="http://localhost:8080" />
    <add key="DNTProfilerLogFilePath" value="|DataDirectory|\ErrorsLog.Log" />
</appSettings>

And then to configure the NHibernate to use the provided driver:

  • FluentNHibernate:
Fluently.Configure().Database(
  MsSqlConfiguration.MsSql2008.ConnectionString(ConnectionString).Driver<ProfiledSql2008ClientDriver>()
);
  • Loquacious style configuration:
cfg.SetProperty(NHibernate.Cfg.Environment.ConnectionDriver,
                typeof(ProfiledSql2008ClientDriver).AssemblyQualifiedName);
  • XML style configuration:
<property name="connection.driver_class">
   DNTProfiler.NHibernate.Core.Drivers.ProfiledSql2008ClientDriver,DNTProfiler.NHibernate.Core
</property>
  • To disable the DNTProfiler.NHibernate.Core, just remove or comment out the above settings.
  • To view its real-time collected information and reports, you need to download the DNTProfiler application too. You can download it from here.

Screenshots:

ElmahEFLogger

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].