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

Extra SQL calls after EF6 upgrade

I've recently noticed some extra sql calls when using miniprofiler. They only seem to occur after a build, and I think they appeared after upgrading to EF6. Are they just checking for changes in models? And can I safely ignore them? SELECT …
Martin Hansen Lennox
  • 2,837
  • 2
  • 23
  • 64
1
vote
1 answer

Does MiniProfiler works in ASP.NET website too

I have followed all steps given in the MiniProfiler document and able to see the result for a specific call. But when trying to add it to the Global.asax page, it is throwing an error like: Exception Details: System.Web.HttpException: Request is…
James
  • 2,136
  • 3
  • 23
  • 42
1
vote
0 answers

How can I pin down ASP MVC Razor profile using MiniProfiler

I have some views in my ASP MVC 4 web application that take several seconds to render. I've install MiniProfiler to profile both the controllers and Razor views. In one of my views I see the following results: …
Ido Ran
  • 10,584
  • 17
  • 80
  • 143
1
vote
1 answer

MVC Miniprofiler, where did all the extra time go?

I'm using MVC Mini Profiler to find why a extremely basic page is quite slow to render: when run locally it takes 700 ms to render just 12kb of html. It shows that all of the actions are trivial (they don't even show unless I click the show…
JK.
  • 21,477
  • 35
  • 135
  • 214
1
vote
1 answer

Mini-Profiler crashes on dbo.__MigrationHistory with EF-DB First

I'm having some performance issues with my MVC3-Application. That's why I decided to implement mini-profiler. I'm using MVC3 with EF (and Razor Views). Because I'm using the DB-first approach, there is no dbo.__MigrationHistory. So how do I tell…
1
vote
0 answers

Miniprofiler apperas in IE 9 but not in Chrome or Firefox

I am running my MVC application locally using IIS express and Miniprofiler is working/appearing as it should in IE 9, but when I open the site in Chrome and Firefox I do not see the miniprofiler on any pages. Miniprofiler is rendered in my shared…
nrorn
  • 21
  • 1
1
vote
0 answers

MiniProfiler not showing the profiling information overlay when running Web Forms application with Entity Framework database first

I have been following the setup shown on http://miniprofiler.com/ I am referencing the EntityFramework v4.3.1 NuGet Package in my Web Application just to get MiniProfiler working but the EF .edmx and generated model is in a separate referenced…
Pricey
  • 5,799
  • 12
  • 60
  • 84
1
vote
2 answers

How do I optimize the rendering of my HTML not SQL queries?

So I am using mini-profiler and it gives me some nice stats. However, one thing I have noticed is that I have gotten a lot of the SQL calls down to a minimum and now the biggest thing is the rendering of the various partials and HTML. For instance,…
1
vote
1 answer

ServiceStack Profile Steps not rendering

I have a ServiceStack Service with a service call like so: public class MyService : Service { public object Get(MyServiceRequest request) { using (Profiler.Current.Step("Getting Data")) { …
John
  • 429
  • 1
  • 3
  • 17
1
vote
1 answer

Can I disable MiniProfiler's duplicate SQL warnings for a block of code?

MiniProfiler detects "duplicate" SQL queries and gives you a red exclamation mark in the corner when it detects them (I'm using MiniProfilerEF to link in to my code-first EF database access). This is often very useful, but sometimes these duplicate…
Jez
  • 27,951
  • 32
  • 136
  • 233
1
vote
1 answer

Connection has not been initialized when using SqlCommand with mini profiler

I'm receiving the error "Connection property has not been initialized" with the following code: DbConnection connection = new SqlConnection(connStr); connection.Open(); connection = new StackExchange.Profiling.Data.ProfiledDbConnection(connection,…
Giles Roberts
  • 6,407
  • 6
  • 48
  • 63
1
vote
1 answer

How to improve Linq-To-Sql code

Using the StackExchange.Profiling.MiniProfiler class to profile an ASP.NET MVC application with Linq-To-Sql as ORM. I'm trying to reduce one action to one SQL, so that I don't have any duplicates anymore. So I changed my linq-to-sql code…
Philipp M
  • 1,877
  • 7
  • 27
  • 38
1
vote
1 answer

Miniprofiler always starts

I am using the MiniProfiler for a small ASP.Net web application. It is great when in development, but I would like a simple way to enable/disable it in production mode. After reading How to hide miniprofiler and the tutorial, I came up with a method…
Andreas Schwarz
  • 1,788
  • 17
  • 42
1
vote
1 answer

Log Request time in IIS

I am running on a performance issue with ASP.Net 2.0 Application. A page takes atmost 20+ secs to load in a browser. I would like to know where the problem is occurring, i.e in browser(rendering) or in server(processing). Is there a way to log the…
Billa
  • 5,226
  • 23
  • 61
  • 105
1
vote
1 answer

MiniProfiler MvcSiteMapProvider

History We are getting excessive load times of over 6 seconds, on static content pages, which seems to happen around the "Render: Index", We have managed to work out its the MvcSiteMapProvider *Executing Controller: Eclipse.Wi.Areas.Workin... 2.1…
Ian Jowett
  • 189
  • 18