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
0 answers

how to get function call tree with miniprofiler

I installed and started using miniprofiler in my global.asax file. so far all works fine. following set up I have, protected void Application_Start() { StackExchange.Profiling.EntityFramework6.MiniProfilerEF6.Initialize(); …
Emil
  • 6,411
  • 7
  • 62
  • 112
1
vote
1 answer

Add custom duration in Miniprofiler tool

I have played around with the Miniprofiler recently. It works fine in our application, and have found some interesting things we're working on. However, I have a use case, where I need to make a custom injection with a record, where I can set the…
Lars Holdgaard
  • 9,496
  • 26
  • 102
  • 182
1
vote
0 answers

Is there a way to load the miniprofiler javascript over SSL

I've included mini-profiler in my app. It loads great on standard http pages, but over SSL I get the following warning page was loaded over HTTPS, but requested an insecure script 'http://mydomain/mini-profiler-resources/includes.js?v=xyz Is…
Tom Gerken
  • 2,930
  • 3
  • 24
  • 28
1
vote
0 answers

How to setup MiniProfiler for SQL profiling in EF 5 using ObjectContext?

I have a WebApi setup and due to some reasons, I am facing performace issues with some of the api methods. I would like to use MiniProfiler and to test the performance of these API methods and log the statistics delivered by Miniprofiler in to a…
1
vote
1 answer

From where can I get the Mini-Profiler-Resource folder needed by MiniProfiler?

I'm trying to use miniProfiler in my MVC 4 project. But after installing both, miniProfiler and miniProfiler.Mvc4 and trying to run my project, MiniProfiler is not loading. In the console log show that it is trying to get a file from a folder named…
Laggel
  • 1,356
  • 3
  • 19
  • 36
1
vote
1 answer

Bind an object to class in autofac and object can be null

I am using MiniProfiler in my project. To get an instance of the MiniProfiler, i have to use the following: var profiler = MiniProfiler.Current; This profiler object is what I want AutoFac to pass to every MiniProfiler Type when I create a class.…
jaxxbo
  • 7,314
  • 4
  • 35
  • 48
1
vote
0 answers

Miniprofiler .NET with mongo not showing query information

Good afternoon. I am trying to get MiniProfiler to work with mongo and mvc. The thing is i can see miniprofiler info in a page, i can see timing information but not querying column information. I would like to see the database accesses and…
mns
  • 141
  • 6
1
vote
1 answer

System.MissingMethodException with Miniprofiler.Windows

Recently in my WinForm project, I installed MiniProfiler.Windows and write following decorator for my QueryHandlers(I'm using CQRS): public class MiniProfilerQueryHandlerDecorator:IQueryHandler where TQuery :…
Masoud
  • 8,020
  • 12
  • 62
  • 123
1
vote
2 answers

Can miniprofiler be used on a static page?

I've always used miniprofiler with MVC and it works like a champ, is it possible to use it on a SPA/Static html page? Thank you, Stephen
Stephen Patten
  • 6,333
  • 10
  • 50
  • 84
1
vote
1 answer

Mini Profiler and SignalR

I have an ASP.NET MVC 4 website that uses Mini Profiler. Just recently I've started using SignalR for the more interactive pages. I've got an issue with the SignalR pages when they're open a long time. Mini Profiler frequently generates an…
Giles Roberts
  • 6,407
  • 6
  • 48
  • 63
1
vote
0 answers

MiniProfiler EF6 - Misleading "duplicate" queries

I'm using MiniProfiler EF6 (3.0.10-beta4) on an MVC5 project with EF 6.1, and it's showing a number of "duplicate" entity framework queries in its output. The parameters to the "duplicate" queries are identical and I've traced the call to one…
Mr. T
  • 3,892
  • 3
  • 29
  • 48
1
vote
1 answer

Using MiniProfiler in N-Tier Framework

I have a MVC 4 Web Application that uses a BLL and DAL. The DAL uses EF6 and the model first approach. I would like to setup MiniProfiler to profile the web and database calls. I've added MiniProfiler and MiniProfiler.MVC4 through Nuget and it is up…
Allen
  • 1,165
  • 2
  • 11
  • 23
1
vote
1 answer

Loads of SQL calls in MiniProfiler when using DropCreateDatabaseIfModelChanges

I'm using miniprofiler and noticed that immediately after a rebuild it's giving me a crazy number of sql calls (485). But the next time I call the page it seems to be caching / re-reading the result, because the call times are minimal. However the…
Martin Hansen Lennox
  • 2,837
  • 2
  • 23
  • 64
1
vote
1 answer

MiniProfiler - ProfiledDbDataAdapter

Trying to get MiniProfiler to profile loading a DataTable via a Stored Proc // Use a DbDataAdapter to return data from a SP using a DataTable var sqlConnection = new…
Dave Mateer
  • 6,588
  • 15
  • 76
  • 125
1
vote
0 answers

MiniProfiler on WebForms and .NET35 Classic Mode

I'm new to MiniProfiler and trying to get it working on a legacy codebase. NET35 WebForms project using https://github.com/mmooney/MiniProfiler Running on IIS8 .NET2 Managed Pipline: Classic mmooney's fork uses .NET35 but runs under .NET4 on…
Dave Mateer
  • 6,588
  • 15
  • 76
  • 125