Skip to content

A simple but effective mini-profiler for ASP.NET websites

License

Notifications You must be signed in to change notification settings

saeedallahyari/dotnet

 
 

Repository files navigation

MiniProfiler for .NET (and .NET Standard)

Build status

Minimum requirements

MiniProfiler v4 runs on .NET 4.6 and above or .NET Standard 1.5 and above. .NET 4.6+ is required due to all of the async support added in v4. If you are a version earlier than .NET 4.6, MiniProfiler v3.x is for you.

Nuget Packages Available

In-progress (not yet available for v4):

Alpha and Beta builds are available earlier via MyGet

  • NuGet v3 MyGet Feed: https://www.myget.org/F/miniprofiler/api/v3/index.json (Visual Studio 2015+)
  • NuGet v2 MyGet Feed: https://www.myget.org/F/miniprofiler/api/v2 (Visual Studio 2012+)

Providers

MiniProfiler is made of of several libraries, but you likely only need to reference 1 or 2 packages. For example:

  • If you're making a full framework ASP.NET MVC 5 application: you likely just want MiniProfiler.Mvc5 (which references MiniProfiler and MiniProfiler.Shared beneath).
  • If you're working on an ASP.NET Core application, you likely want MiniProfiler.AspNetCore.Mvc (which references MiniProfiler.AspNetCore and MiniProfiler.Shared beneath).
  • If you want to store profilers not in memory, you can grab that provider package and set the provider in options. For example, to store MiniProfiler results in SQL Server:
      1. Reference the MiniProfiler.Providers.SqlServer NuGet package.
      1. Use it via MiniProfiler.Settings.Storage = new SqlServerStorage(ConnectionString);

The following packages are no longer being actively worked on)

Licensed under MIT license

About

A simple but effective mini-profiler for ASP.NET websites

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 94.9%
  • CSS 4.4%
  • Other 0.7%