Questions tagged [glimpse]

What Firebug is for the client, Glimpse does for the server... in other words, a client side Glimpse into what's going on in your ASP.NET server.

Glimpse allows you to debug your ASP.NET web site or web service right in the browser. Glimpse allows you to "Glimpse" into what's going on in your web server. In other words what Firebug is to debugging your client side code, Glimpse is to debugging your server within the client.

Project Links:

319 questions
3
votes
2 answers

Glimpse throws NullReferenceException with EPiServer 7.1 MVC 4

I have an MVC 4 application built on top of EPiServer 7.1. EPiServer uses StructureMap as it's IoC framework, which may be related to my problems. Anyhow, this is what I have done: Via "Manage Nuget Packages...", added "Glimpse Mvc4" to my…
Thomas Svensen
  • 760
  • 1
  • 7
  • 14
3
votes
1 answer

Determine if Glimpse is running during Application_BeginRequest()

I have installed Glimpse (Glimpse MVC4) and MiniProfiler (with EF support). I also installed the MiniProfiler plugin for Glimpse. I have that all wired up and working. I want to allow the configuration of Glimpse to determine if MiniProfiler…
Paul
  • 1,129
  • 2
  • 17
  • 37
3
votes
3 answers

Not sure how to get Glimpse.Log4Net working

I'm trying to get Glimpse.Log4Net working in an existing ASP.Net MVC v4 project (in VS2010), following the docs here and here, but although the solution compiles and runs Glimpse and log4net seem to be working correctly, I can't see the log4net…
meataxe
  • 969
  • 13
  • 33
3
votes
1 answer

When writing a Glimpse Plugin how do you add a clickable URL link?

When writing a Glimpse Plugin how do you output a clickable link? It appears to HTML encode all output. I want to create a link in my plugin to connect to another page in the site to view more detailed information. Also, is there any way to make…
Glenn
  • 166
  • 5
3
votes
2 answers

Restrict Glimpse for only admin users

I want to do this via code if possible, I want to allow glimpse to be accessed only by administrative users, how can this be achieved? The website states it is possible - cant seem to find the exact link though http://getglimpse.com/
Haroon
  • 3,402
  • 6
  • 43
  • 74
2
votes
1 answer

Problems with Json.NET serialization in Glimpse

I've been testing out Glimpse on a cross-platform prototype which uses MVVM for various front ends (MVC3, WPF4, WP7) and appear to have run into issues with Glimpse in MVC3 due to Json.NET serialization woes. Glimpse is working fine for views not…
si618
  • 16,580
  • 12
  • 67
  • 84
2
votes
2 answers

Glimpse for MVC3 module not found after NuGet install of Glimpse.MVC3

I just added Glimpse.MVC3 to an MVC3 app I'm battling to deploy to IIS / debug on IIS (7.5), but when I try to activate it via Glimpse.axd, I get a 404 not found. I am appending the url to my route, and no longer attempting it as an absolute url
ProfK
  • 49,207
  • 121
  • 399
  • 775
2
votes
1 answer

Glimpse and RedirectToAction

I am trying to follow Scott Hanselman's example on using glimpse to trace an ASP.NET MVC 3 application. Public Function SomeAction(id As Integer) As ActionResult Dim traceid = Guid.NewGuid.ToString Trace.TraceInformation(traceid & " " & …
Endy Tjahjono
  • 24,120
  • 23
  • 83
  • 123
2
votes
2 answers

Does Glimpse work on actions that return JsonResult?

I've got an app where most of the heavy lifting is in actions that each return a JsonResult. They're called by jQuery from a simple view. The requests show up in the Ajax tab in Glimpse, but as each request completes it gets scored through and…
David Bick
  • 779
  • 5
  • 11
2
votes
2 answers

Glimpse not working

Watched the Scott H. videos on their site. Followed the same procedures. But I only see a change in my web config and a new .dll Does anyone know if other files are supposed to come in with the project. When I navigate to…
Eric Rohlfs
  • 1,811
  • 2
  • 19
  • 29
2
votes
0 answers

Number of connections to database is much higher then numbers of queries, why?

I was watching how my application behaves with Glimpse(web diagnostic tool), and could not explain why number of connections to db is much higher then actual queries. I look at particular ajax call to db, which loads 10 more Entities to view each…
sneuly
  • 96
  • 1
  • 9
2
votes
0 answers

Using Glimpse with Microsoft.Practices.EnterpriseLibrary.Data;

I am trying to add Glimpse to my web application. It is working but I am missing one of the best features - i.e. the ability to see how many SQL queries run on each page. My application is using rather old school…
Ctrl_Alt_Defeat
  • 3,933
  • 12
  • 66
  • 116
2
votes
1 answer

Why are some commands in Glimpse's SQL tab orange with an exclamation icon?

Glimpse's SQL tab shows some queries as orange with an exclamation icon in the leftmost column. Here's an example: In my research, I found this Stackoverflow question - What does orange mean in Glimpse's SQL tab? - which references issue #435 on…
Scott Mitchell
  • 8,659
  • 3
  • 55
  • 71
2
votes
0 answers

Diagnosing ASP.NET MVC time spent before controller is invoked

I'm fairly new to ASP.NET and I'm trying to understand why my site is sometimes running very slowly. Sometimes requests will take 20+ seconds and then a moment later they take less than one second. In an effort to track down the issue I have…
supwar
  • 222
  • 2
  • 7
2
votes
1 answer

How to use SqlBulkCopy and track Bulk Inserts with Glimpse

In our app we use the SqlBulkCopy class to facilitate bulk loading of our database. Recently, I've tried to add Glimpse to our solution but the code fails with an invalid cast: System.InvalidCastException: Unable to cast object of type…
Dejan
  • 9,150
  • 8
  • 69
  • 117