Questions tagged [mvc-mini-profiler]

A simple but effective mini-profiler for ASP.NET, WCF and the .NET platform

A simple but effective mini-profiler for ASP.NET, WCF and the .NET platform. It has been designed to be small and unobtrusive and thus to be suitable for production code profiling. Read the introduction.

Installing the mini-profiler can most easily be done using its NuGet package:

Install-Package MiniProfiler
388 questions
12
votes
1 answer

How to move ms display from LHS to RHS

The little bubble that shows the ms taken to display the page. How can I configure it to display in the RH corner instead of the LH corner. Have tried access setting via global.asax. Was able to trial it by changing the source from
Valamas
  • 24,169
  • 25
  • 107
  • 177
12
votes
1 answer

MvcMiniProfiler results request giving 404 in Asp.Net MVC app

I am trying to use the MvcMiniProfiler in my Asp.Net MVC application. I installed the latest NuGet package and added all the code from the wiki page into Application_BeginRequest(), Application_AuthenticateRequest() and in my view. Upon loading the…
KallDrexx
  • 27,229
  • 33
  • 143
  • 254
12
votes
2 answers

mvc-mini-profiler slows down Entity Framework

I've set up mvc-mini-profiler against my Entity Framework-powered MVC 3 site. Everything is duly configured; Starting profiling in Application_Start, ending it in Application_End and so on. The profiling part works just fine. However, when I try to…
Jesper
  • 7,477
  • 4
  • 40
  • 57
12
votes
1 answer

Wire up MiniProfiler to ASP.NET Core Web API Swagger

I found only this manual describing how to make MiniProfiler work with ASP.NET Web API and Swagger UI, but I didn't find any manual describing how to make ASP.NET Core Web API work with MiniProfiler to show results in Swagger UI.
12
votes
1 answer

MiniProfiler.Current is null when called from System.Net.Http.DelegatingHandler

I'm using mini profiler in my asp.net Web API project and want to track the performance of some code that runs in a custom DelegatingHandler. The calls MiniProfiler.Current.Step() inside the DelegatingHandler don't show up in the results. Other…
tozevv
  • 764
  • 7
  • 17
12
votes
1 answer

Miniprofiler for ASP.NET web site

How can I use miniprofiler in asp.net web site(NOT FOR MVC)? There are many resources for MVC but I can not find anything for web site. Thanks to Alex. Now it works for asp.net web site. But I can not understand what it displays. I have not written…
Microsoft Developer
  • 5,229
  • 22
  • 93
  • 142
11
votes
1 answer

mvc-mini-profiler with OutputCacheAttribute

im using mvc-mini-profiler on a test site. When i put an OutputCacheAttribute on my action method, the profiler is not executed and always return the last value that he had before the cache. is there a way to tell mvc-mini-profiler that the result…
Alexandre Jobin
  • 2,811
  • 4
  • 33
  • 43
11
votes
2 answers

MiniProfiler with EF "model first" edmx model

I'm trying to get MiniProfiler to profile my database access but I'm running into problems. All the help I see out there seems to be for "code first" entity framework connections. My model was designed before the code first update was available this…
BZink
  • 7,687
  • 10
  • 37
  • 55
11
votes
3 answers

Getting more "granularity" from the MVC Mini Profiler

Should this turn out to be useful for anyone, I'll gladly turn it into a community wiki thing. I have some slow pages in an MVC3 app, and since little of the execution time seemed to happen in my code, I wanted to see if I could find out more about…
Rune Jacobsen
  • 9,907
  • 11
  • 58
  • 75
11
votes
1 answer

MVC Mini Profiler includes not respecting application's path

I've got the MVC Mini Profiler set up as described on its project page, and the includes are indeed being written on the page. Problem is, my application sits at http://localhost:8080/web, and the markup written by the profiler includes looks like…
adamjford
  • 7,478
  • 6
  • 29
  • 41
11
votes
3 answers

Using mvc-mini-profiler with EF 4.0 and Ninject

I'm trying to use the new mvc-mini-profiler with my EF4 based app, but I have no idea how to properly get a connection to my destination datasource. Here's as far as I have gotten. Func createContainer = () => { var profiler =…
John Gietzen
  • 48,783
  • 32
  • 145
  • 190
11
votes
1 answer

MVC4 MiniProfiler results-index page errors "MiniProfiler.list is undefined"

I get the error "MiniProfiler.list is undefined" error when trying to load the miniprofiler list: /mini-profiler-resources/results-index The javascript miniprofiler injects doesn't have any method or property called "list". The page that shows one…
David Aleu
  • 3,922
  • 3
  • 27
  • 48
11
votes
1 answer

Miniprofiler breaks on missing CreatedOn column

I have miniprofiler installed in my web app (asp.net-mvc) for EF 6.1, and it breaks on a line with the following error message: An exception of type 'System.Data.SqlClient.SqlException' occurred in MiniProfiler.dll but was not handled in user…
Quoter
  • 4,236
  • 13
  • 47
  • 69
11
votes
1 answer

MiniProfiler Showing Asp.Net Mvc Slow Call Actions Occasionally

We have started using MiniProfiler and it is showing that sometimes, particularly when we hit F5 when running in Visual Studio that the first 3 - 5 calls to an action are very slow before any of our code executes as the picture below shows, it…
user351711
  • 3,171
  • 5
  • 39
  • 74
11
votes
4 answers

MiniProfiler not showing up on the page

I’m having problems getting MiniProfiler to show me the reports. I’m just in the Dev environment, which should show it all the time. Adding ?pp=help does bring up the help page. In tmp/miniprofile, there are a ton of mp_timers_ files. Apparently…
Nathan
  • 1,864
  • 3
  • 18
  • 22
1 2
3
25 26