MiniProfiler / dotnet

A simple but effective mini-profiler for ASP.NET (and Core) websites
https://miniprofiler.com/dotnet/
MIT License
2.93k stars 603 forks source link

Outdated documentation. MiniProfiler.current doesn't exist. #647

Closed LeonardoDaLuz closed 1 year ago

LeonardoDaLuz commented 1 year ago

In this tutorial, the object MiniProfiler.Current doesnt exists.

https://miniprofiler.com/dotnet/HowTo/ProfileSql

image

NickCraver commented 1 year ago

MiniProfiler isn't a namespace in the package, so my guess is you've either created or imported something with that namespace that's interfering. MiniProfiler is a type in StackExchange.Profiling :)

LeonardoDaLuz commented 1 year ago

Yes... the lib MiniProfiler.Integrations was misleading me. Ridiculous Lib, trap. This overshadows the intellisense.

https://www.nuget.org/packages/MiniProfiler.Integrations