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

Does MvcMiniProfiler require a web application to work, or can it be used in pure libraries, such as in unit tests?

I really like what I've seen regarding MvcMiniProfiler. I'd love to use the SQL monitoring features on non-web applications (windows services, unit tests, etc). Is this possible, or does it require an HTTP environment? The obvious difference…
CoolUserName
  • 3,715
  • 6
  • 26
  • 30
15
votes
2 answers

Let the mvc-mini-profiler ignore Glimpse requests

I'm using mvc-mini-profiler along with Glimpse. The problem is glimse is flooding the profiler output with glimpse requests. Is there any way to ignore all request made by glimpse ?
user256034
  • 4,289
  • 5
  • 37
  • 44
15
votes
1 answer

MvcMiniProfiler on EF 4.1 Code-First project doesn't profile SQL

I have version 1.6 of the MvcMiniProfiler referenced (via Nuget) and have set everything up as described on the project homepage at http://code.google.com/p/mvc-mini-profiler/. I have the following code in the Web.config:
14
votes
3 answers

MVC MiniProfiler with ASP.NET MVC 4

After adding MVC MiniProfiler to my ASP.NET MVC 4 project, it complains about requiring System.Web.Mvc 3.0.0.0. Is there any way to use MiniProfiler with ASP.NET MVC 4? The following assembly redirect is already defined in web.config: …
Petrus Theron
  • 27,855
  • 36
  • 153
  • 287
14
votes
2 answers

MvcMiniProfiler profiling web app and lower layers

I have MiniProfiler set up and working in my ASP.NET MVC app. My controllers make calls via WCF to a BLL which in turn talks to the database. I would like to see profiling from the WCF service alongside the existing profiling I see from the web app.…
doss
  • 161
  • 1
  • 4
14
votes
2 answers

Using MVC Miniprofiler for every action call

Iv been experimenting the great tool, Mvc MiniProfiler. I don't want to litter all my view with lots of Step commands, so I am wanting to use the profiler with every action call. Bad idea? This is what I have tried so far: public abstract class…
Dan
  • 29,100
  • 43
  • 148
  • 207
14
votes
3 answers

How to properly authenticate mvc-mini-profiler with AspNetSqlMembershipProvider

I tried to check if the user is in role at Application_BeginRequest and Application_AuthenticateRequest with this code and it will not work. At BeginRequest the code is never hit and Authenticate it's hit with some of the request and the profiler…
Tadeu Maia
  • 1,194
  • 9
  • 20
14
votes
2 answers

Using MiniProfiler with MVC 5

Edit Got the answer here So I wanted to check out MiniProfiler to troubleshoot some performance issues. Before using it on production code I wanted to try it out with the a sample so went ahead with creating a MVC 5 application. This is plain…
Codehelp
  • 4,157
  • 9
  • 59
  • 96
14
votes
1 answer

MVC MiniProfiler with Entity Framework 5 Model First Error: Unable to determine the provider name

Using Entity Framework 5, MiniProfiler 2. Nuget installed for MiniProfiler.EF. Creating a connection as follows var conn = new EFProfiledDbConnection(DbConnections.GetSqlConnection(), …
14
votes
1 answer

miniprofiler on mvc4 resources route returns 404

I'm trying to set up miniprofiler, miniprofiler.mvc3 and miniprofiler.ef from nuget and on an mvc4 installation, targeting .net 4.0 It registered the route /mini-profiler-resources/{resourceName}, and this route shows up in when i use routedebugger.…
scaryman
  • 1,880
  • 1
  • 19
  • 30
13
votes
2 answers

Mvc Mini Profiler requests for files with and without RouteBasePath

This is driving me crazy, I'm testing my app with both Firefox and IE, on Firefox works just fine, but on IE mini profiling is making these 5 requests /Content/mvc-mini-profiler/mini-profiler-includes.css?v=1.9.0.0 …
Paleta
  • 970
  • 2
  • 13
  • 27
13
votes
1 answer

Mini Profiler does not render scripts

I've added Mini Profiler through NuGet and though in a really simple project works lovely, this is a big and existing project, and of course that I'm getting some problems with it :( it writes the correct script tags in the source code as
balexandre
  • 73,608
  • 45
  • 233
  • 342
13
votes
3 answers

InvalidOperationException: Cannot find compilation library location for package 'System.Security.Cryptography.Pkcs'

Just upgraded a web project to .NET 6.0. Project compiles but when I run the site I get the following error: InvalidOperationException: Cannot find compilation library location for package 'System.Security.Cryptography'. I am using…
Sha
  • 2,185
  • 1
  • 36
  • 61
13
votes
1 answer

Using mvc-mini-profiler

I'm trying to use the mvc-mini-profiler with EFCodeFirst I'm creating a DbProfiledConnection and passing it to the DbContext on construction as below. The application continues to work as expected by the sql is not exposed to the Profiler. public…
12
votes
3 answers

How to hide miniprofiler?

I'm using MVC Mini profiler to check the speed of specific parts of my application, and would like to keep it there just in case something happens later and I may need to check "what's going wrong". It's not a full log set, but it comes pretty in…
Alpha
  • 7,586
  • 8
  • 59
  • 92
1
2
3
25 26