If the result says that you are using version 2.1 then you probably aren’t using v3.1.1. Please check your dll versions again and make sure that you are up to date.
Can you include the code that you are using to run actual profiling steps? StackExchange.Profiling.MiniProfiler.Current is just a reference to the current mini profiler instance, but it doesn’t actually do anything by itself. That is what step() is for. Also, you are starting the MiniProfiler in App_BeginRequest, right?
Yes, Start() method of miniprofiler is written in App_BeginRequest. Moreover, I am looking for the same that you have mentioned “Current Mini Profiler Instance”.
Please see this link : http://demo.nopaccelerate.com/desktops
On top of this page it shows the time in green bar. But this is done using older version of miniprofiler 2.1.0 and using var profiler = StackExchange.Profiling.MiniProfiler.Current;
As I said before, above line does not return actual time with latest version of miniprofiler. It gives me 0 ms. Why so? Can you please explain me?