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
0
votes
1 answer

MiniProfiler MVC SQL Timings Not Displaying

I am using MiniProfiler.Mvc5 v4.2.1 with C# for an ASP.NET MVC5 website. I am implementing MiniProfiler based on the Samples.Mvc5 project included in the source code repo and am having an issue with the display of SQL timings. I am curious if…
0
votes
0 answers

Miniprofiler (Asp.net Core) Using sessionStorage for Basic Auth

I am trying to use Miniprofiler on an Asp.Net Core back end. The front end is a SPA and using session storage to set basic auth. I am running into a problem where I need to set the basic auth from session storage for the mini profiler ui to load.…
0
votes
2 answers

MiniProfiler does not load because profiler route is not found

I installed MiniProfiler.Mvc5 nuget and put in the followings: web.config: RegisterGlobalFilters: filters.Add(new…
Ray Cheng
  • 12,230
  • 14
  • 74
  • 137
0
votes
1 answer

How should I interpret this MiniProfiler result?

I am currently trying to analyze a performance issue where an ASP.NET MVC razor view renders very slowly: it takes 40+ seconds to return a response to the browser. This issue does not always occur: usually the page loads in ~1/2 seconds. Below is…
TC.
  • 4,133
  • 3
  • 31
  • 33
0
votes
1 answer

Use MiniProfiler with DevExpress XPO (ORM)

I'm trying to setup my project so that MiniProfiler is able to profile XPO's SQL calls. This should have been a very simple endeavor, as MiniProfiler just wraps an ordinary connection but this simple approach doesn't work. Here's the code that…
Loudenvier
  • 8,362
  • 6
  • 45
  • 66
0
votes
0 answers

MiniProfiler v4 dependency on .net standard

Trying to install MiniProfiler v4 (4.0.0) and get an error related to the following: Install-Package : Could not install package 'Microsoft.Extensions.DependencyInjection.Abstractions 2.0.0'. You are trying to install this package into a project…
Rubans
  • 4,188
  • 6
  • 40
  • 58
0
votes
1 answer

Add more information in MiniProfiler's CustomTiming

I am using MiniProfiler to monitor request to external APIs using CustomTimings : var externalApiClient = new ExternalApiClient(); using(MiniProfiler.Current.CustomTiming("ExternalAPI","ExternalAPI.Method")) { externalApiClient.Method(); } This…
Damien Chaib
  • 401
  • 3
  • 14
0
votes
1 answer

MiniProfiler not working after publish

I added MiniProfiler to my project using Install-Package MiniProfiler To try and work out why the app runs so slowly, and it seems to be working fine when debugging in VS. However, after publishing the application and running it, the profile…
Bassie
  • 9,529
  • 8
  • 68
  • 159
0
votes
1 answer

Using Miniprofiler with Neo4j Graph DB

I'm playing around with Neo4j community edition, with Neo4jClient for .net, and looking for a way to use the great Miniprofiler for the calls to the Neo4j DB. I'm using the miniprofiler on some other projects with SQL Server and Entity Framework…
Issac
  • 943
  • 1
  • 6
  • 13
0
votes
1 answer

LightInject - Interception not intercepting dependencies

I'm using LightInject with the ServiceProvider adapter on an MVC website. I'm trying to wire it into MiniProfiler, but I'm not having much luck. MiniProfiler seems to be capturing the MVC Controller Lifecycle, but not any of the dependencies: Mini…
0
votes
1 answer

How can I have Miniprofiler just call may log method for the profile messages

I am building a windows service. I am trying to have miniprofiler, intercept ado.net calls and hand the messages to my application's logging system. All miniprofiler needs to do is to call a static method Log(string text). I went through the…
Allan Xu
  • 7,998
  • 11
  • 51
  • 122
0
votes
0 answers

How do I prevent posts to mini-profiler-resources/results in production?

I am trying to setup MiniProfiler to run in all of our environments instead of just on our local machines. It is my understanding that StackOverflow runs MiniProfiler in production without any issues. When I open my developer tools in Chrome and go…
Christopher Haws
  • 1,715
  • 21
  • 21
0
votes
1 answer

Upgrade to MiniProfiler 3.2 from 2.1 no longer shows child

I recently upgraded miniprofiler to the latest version and it is no longer automatically creating children steps for various MVC related things. Before it would show the timings of all the actions and child actions for a request, as well as the…
kmc059000
  • 2,937
  • 1
  • 23
  • 27
0
votes
1 answer

MiniProfiler is bypassing my Authorization filter

I have mini-profiler working, but now I am trying to restrict access by setting functions as described under "Profiler Security" at http://miniprofiler.com/ MiniProfiler.Settings.Results_Authorize =…
Nathan
  • 10,593
  • 10
  • 63
  • 87
0
votes
1 answer

Install Miniprofiler without Nuget?

I am using Visual Studio 2008 and I want to try Miniprofiler, but I don't have Nuget. Is it possible to install it without nuget, if so how? I am using Visual Studio 2008, with EF 4 and ASP.NET MVC 3
xaisoft
  • 3,343
  • 8
  • 44
  • 72