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
1
vote
2 answers

Profiler lib for wcf + postsharp

We need to add a new profiling feature to our WCF application, for logging where time is spendt in the application. I'm looking at PostSharp for a convention driven approach of applying the logging and need some input on how to actually log it. I've…
jaspernygaard
  • 3,098
  • 5
  • 35
  • 52
1
vote
2 answers

Where are ProfilingActionFilter and ProfilingViewEngine in mvc-mini-profiler?

I inherited a project that uses MvcMiniProfiler and now I have to go in and make some changes. I'm having trouble building the project because the following references are not valid (using MvcMiniProfiler 1.4) filters.Add(new…
Don Zacharias
  • 1,544
  • 2
  • 14
  • 31
0
votes
1 answer

Is there a better way to use Structuremap to inject dependencies into a custom RoleProvider?

I found http://www.devproconnections.com/content1/catpath/database-development/topic/a-perfect-storm-linq-to-sql-dependency-injection-and-asp-net-providers/page/2 and had similar code as from the webpage: public class CustomProvider :…
nportelli
  • 3,934
  • 7
  • 37
  • 52
0
votes
2 answers

MVC OnResultExecuting performance issues

I'm currently investigating performance issues on our web app (MVC2, S#arp Architecture, fluent nHibernate), using the MVC-mini-profiler which is great. I am using an attribute on actions or controllers I want to investicate as discussed in this…
Ben
  • 1,767
  • 16
  • 32
0
votes
1 answer

Getting random "using the same DbCompiledModel to create contexts..." with Entity Framework

I randomly keep getting this error when switching from Debug to Release when building my solution. I have no idea what is causing it and why. I am using SQL Server 2008, and using MiniProfiler. "Using the same DbCompiledModel to create contexts…
Khalid Abuhakmeh
  • 10,709
  • 10
  • 52
  • 75
0
votes
1 answer

ASP.net mini profiler linq-to-sql

I'm trying to get it to record linq-to-sql in the mini profiler as the documentation says I add this to my App_Code/DataClasses.designer.cs as follows: public MainContext() : …
Tom Gullen
  • 61,249
  • 84
  • 283
  • 456
0
votes
1 answer

Does MVC Mini Profiler monitor requests to subdomains

I have asset domains created on my machine that are basically routed through the hosts file to localhost itself. Now when I activate MVC mini profiler on my local website it is not capturing any requests to these asset domains. Is this a bug or an…
Baz1nga
  • 15,485
  • 3
  • 35
  • 61
0
votes
1 answer

Mvc MiniProfiler WrappedConnection Property

How could I get the value from the WrappedCOnnection Property of a ProfiledDbCOnnection? I know the property exists however its modifier does not allow me to get it during my development; I need to get the underlying connection for I need to involve…
ClayKaboom
  • 1,833
  • 1
  • 22
  • 42
0
votes
1 answer

Can you get EF method name from mvc-mini-profiler?

I am using EF D4.1 atabase first for an MVC 3 project. When I see the SQL for my EF methods, it's hard to know which method generated this SQL. Next to SQL I see a generic description like this: ExecuteStoreCommands Execute GetResults…
Greg R
  • 1,670
  • 4
  • 26
  • 46
0
votes
1 answer

Problems upgrading MVC Mini Profiler to latest release

I've been using Mini Profiler in dev and production (azure) for a while and LOVE it. It tried to upgrade to the latest release today via NUGET. The DLL get's placed in the bin but my site gets an error. If I go back to the old dll it works fine. …
Nate
  • 2,316
  • 4
  • 35
  • 53
0
votes
0 answers

Store MiniProfiler results in PostgreSQL

I have integrated MiniProfiler v4.2.22 in my Asp.Net Core application. Its is working as expected when using In-Memory database, but when i change the storage option to PostgreSQL or SQL Server, no data is coming in the results. Code Used…
0
votes
1 answer

MvcMiniProfiler results/chicklets are hidden/covered by a DIV

Any way to control the display properties of MvcMiniProfiler? I actually have a DIV banner (stole look and idea from the SO banner that shows - i.e. 'Congrats, you've gained the privilege...') that displays at the top of the browser at all…
Terry
  • 2,148
  • 2
  • 32
  • 53
0
votes
2 answers

mvc-mini-profiler configuration clarification

The profiler is installed in my MVC 3 app and it works, but what I'm having a hard time with is the correct way to get the EF 4 db portion setup correctly. from the home page of the profiler Use a factory to return your connection: public static…
Stephen Patten
  • 6,333
  • 10
  • 50
  • 84
0
votes
1 answer

mvc-mini-profiler not working with jquery.validate.js

I've got mvc-mini-profiler installed as suggested in the docs. I see the tab at the top for simple pages, but it doesnt show on pages with jquery.validate.js (jQuery validation plug-in 1.7) Firefox gives: invalid…
PeteShack
  • 707
  • 1
  • 8
  • 20
0
votes
0 answers

When using MiniProfilter to wrap DbConnection, receive error Procedure or function 'X' expects parameter '@Y', which was not supplied

I am adding MiniProfiler to our existing custom ORM which is based on ADO.Net. This link indicates that I just need to wrap the DbConnection with a new instance of ProfiledDbConnection but when I do that all or most of the queries performed through…
Thomas927
  • 853
  • 1
  • 11
  • 19