Glimpse 1.0.1!

Tuesday, March 12, 2013

Glimpse is the open source diagnostics platform of the web. You can use Glimpse to see what is happening inside a web application on both the server and client side. It's like Firebug but with configuration, routing, and profiling information from the server included. Nik and Anthony run the project, and they recently pushed out Glimpse v1.0.1.

To lean more, you can listen to a Herding Code episode, or watch a Channel 9 video.

Glimpse and ASP.NET MVC 4

The current version of Glimpse works well with ASP.NET MVC 4.

The first step is to install the Glimpse.MVC3 package using NuGet (yes, MVC3 will work with MVC4).

The second step is to use your web browser to visit /Glimpse.axd in your application and click the "Turn Glimpse On" button.

Turning On Glimpse

The last step is to visit any page in your application and click on the little Glimpse icon that will appear in the bottom right of the page. Clicking the icon opens up the Glimpse dashboard with server configuration, routing, profiling information, and other diagnostics showing in a tabbed interface.

Glimpse In Action


The direction and extensibility of the Glimpse project make Glimpse particularly exciting. There are very few restrictions on what Glimpse can't diagnose, so if there is a feature you'd like to see feel to jump in on the Glimpse GitHub project. I hope to cover some of the server-side extensibility points in a future post.


gravatar Andre Calil Tuesday, March 12, 2013
Hey Scott, nice post. Glimpse is very cool and handy for many tasks. One thing to note is that it sets a cookie, so turning it on/off must be made for each different browser you want to use. Also, looks like it doesn't support IE8. Regards
gravatar Nik Tuesday, March 12, 2013
@Andre, Glimpse's use of a cookie is just a default policy. It can be disabled if you prefer, just change your web.config entry to look like this: <glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd"> <runtimePolicies> <ignoredTypes> <add type="Glimpse.Core.Policy.ControlCookiePolicy, Glimpse.Core"/> </ignoredTypes> </runtimePolicies> </glimpse> You are correct, the client no longer supports IE8. You can, however, still collect data about an IE8 user but display it in a modern browser. We have a discussion showing just that over in our issue tracker:
gravatar Andre Calil Wednesday, March 13, 2013
@Nik Thanks for pointing out that configuration option! About IE8, I'll simply disable it for IE8, to skip the JS error that gets raised.
gravatar Nik Thursday, March 14, 2013
@Andre, for what it's worth, we've also recently fixed that issue.
gravatar Sylvain Chamberland Friday, March 15, 2013
The Herding Code link leads to the Channel 9 video. The correct link is:
gravatar Scott Allen Friday, March 15, 2013
@Sylvain - oops! Thanks! Updated.
Comments are closed.

My Pluralsight Courses

K.Scott Allen OdeToCode by K. Scott Allen
What JavaScript Developers Should Know About ECMAScript 2015
The Podcast!