Category Archives: Uncategorized

Glimpse and Microsoft join forces

It is my pleasure to announce that moving forward the sponsorship of Glimpse is being taken over by Microsoft. More details around the the particulars will be coming out soon, but for the here and now there are fairly comprehensive writeup’s on the Visual Studio and Asp.Net blog’s, as well as our own blog’s (Anthony van der Hoorn and Nik Molnar).

Microsoft

For the last 3 years Glimpse has been lucky enough to be sponsored by Red Gate. This relationship has been amazing and has made it possible for us to get to where we are today. That said, moving forward and for where we want to take the project (deeper integration into Asp.Net, as well as going cross platform and working on other web stacks), Microsoft is a really great fit.

Looking forward to bring you more details, as well as making Glimpse even more awesome.

Version 1.9.2 for Asp.Net Released

As these things go, we’re still hard at work on getting the various bits in place so we get get Glimpse v2 into your hands as soon as possible. In the mean time, this release has got a few fixes that have come in from the community since our last release. It focuses on a couple of small Asp.Net features/fixes and a fix to an annoying bug that effected some EF users.

This release sees updates to following packages:

  • Glimpse.AspNet – Featherweight release 1.9.2
    • Added support for AspNetSynchronizationContext
    • Added support for Build Mode detection of assemblies in Environment tab
  • Glimpse.EF* – Featherweight release 1.6.5
    • Fix bug lead to cast exceptions on GlimpseDbConnection by loosen GetDbProviderManifestToken behavior

Special Thanks
In terms of pull requests, I have to say a big thanks to:

  • jasonkenneth
    • #836 Loosen GetDbProviderManifestToken behavior
  • Lohith
    • #823 Implement Build Mode detection of assemblies in Environment tab

Well, as usual, I think that is a wrap. For a full list of changes, issues and commits see below:

Thanks to everyone involved and enjoy the release!

Version 1.7.3 for ADO Released

This release it a fairly minor one to fix a rather painful bug that went out in EF 6.1.1. This error revolved around a NullReferenceException that would be generated when users upgraded to EF 6.1.1.

With help from the guys on the EF team, we narrowed down the issue:

Basically in ClonedObjectContext, EF first disposes of the Glimpse connection, and then EF disposes of EntityConnection (which then tries to unsubscribe from the state change event). Fix is to simply change the order of those calls in EF.

Unfortunately with EF 6.1.1 being in the wild now, it was important that Glimpse could work around this issue. Hence, additional checks where added to Glimpse.ADO in this release to work around this issue.

This release sees updates to following packages:

  • Glimpse.ADO – Featherweight release 1.7.3
    • Conduct an additional null check around the StateChange event (fixes bug in EF 6.1.1)
  • Glimpse.EF* – Featherweight release 1.6.4
    • Update to work around bug in EF 6.1.1

And for the great issue reports, I want to thank:

Also I would like to say a very big thanks to the EF team, specifically:

  • Maurycy Markowski
  • Arthur Vickers & Lawrence Jones
  • Rowan Miller

Well, as usual, I think that is a wrap. For a full list of changes, issues and commits see below:

Glimpse 1.8.6 released

Its that time again and we have another release ready to go. This one is mainly another patch/bug release, but it also a couple of nice things come to the table.

Glimpse Launcher
One of the biggest things to note is the addition of a new button to the `~/glimpse.axd` page. This button is designed to be a temporary fix to help those who have sites that contain only services. Currently its difficult for these users to launch Glimpse. In most cases it requires adding a dummy page to the site, so that Glimpse can be launched from that point. This new button allows the user to launches the client in fullscreen mode. From there, the history tab can be used to track requests.

Launch Glimpse in FullScreen Mode

Launch Glimpse in FullScreen Mode

Note, there is currently a limitation on this feature which means the client will only launch if Glimpse has already detected at least one request. If this limitation causes you any issues please let us know. Additionally, v2 of Glimpse will bring to the table first class support for services.

This release sees updates to following packages:

  • Glimpse.Core – Featherweight release 1.8.6
    • Add button which makes it easy to launch glimpse for service only sites
    • Improve how client renders for those using Zurb Foundation
  • Glimpse.AspNet – Featherweight release 1.9.1
    • Fix issue for ajax requests that are using “Bufferless input streams”
    • Show non-MvcRoute route types in route tab
  • Glimpse.WebForms – Featherweight release 1.1.1
    • Fix issue to make Glimpse checks if it is enabled in DataBoundControlAdapter
  • Glimpse.Ado – Featherweight release 1.7.2
    • Ensure ADO inspector does quotes `AnsiString` parameters in query output
    • Ensure that all parameters in `CreateDbCommandDefinition` are forwarded through
    • Prevent command sanitizer from replacing partial matches of parameters

In terms of pull requests, I have to say a big thanks to:

  • Kristian Hellang
    • #802 – Prevent command sanitizer from replacing partial matches of parameters
  • Thomas Zitzler
    • #806 – Fix issue for ajax requests that are using “Bufferless input streams”
    • #803 – Ensure that all parameters in `CreateDbCommandDefinition` are forwarded
  • grahammendick
    • #789 – Fix issue to make Glimpse checks if it is enabled in DataBoundControlAdapter
  • Boris S
    • #783 – Fix issue to make Glimpse checks if it is enabled in DataBoundControlAdapter

And for the great issue reports, I want to thank:

Well I think that is a wrap. For a full list of changes, issues and commits see below:

Glimpse 1.8.5 released

Its that time again and we have another release ready to go. This one is mainly another patch/bug release, but it also sees support for Attribute routes come to the table.

In addition, there has been a fairly sizeable fix released for Entity Framework which affected people trying to use Glimpse.EF6 with EF 6.1.0 – 6.2.0-beta. This has taken a little to track down, and I would like to thank everyone involved in sorting this out and coming up with the fix (especially the guys on the EF team… HUGE thanks guys!!!).

This release sees updates to following packages:

  • Glimpse.Core – Featherweight release 1.8.5
    • Fix where Clients that have a name with quotes in it blows up
  • Glimpse.AspNet – Bantamweight release 1.9.0
    • Added support for attribute routes
  • Glimpse.Ado – Welterweight release 1.7.1
    • Significant performance improvement when calling stored procedure with binary data param
  • Glimpse.Ef* – Welterweight release 1.6.2
    • Fixed possible NullReferenceException in Glimpse that was surfaced with EF 6.0.2
    • Introduced workaround for bug that was introduced in EF 6.1.0 – 6.2.0-beta

In terms of pull requests, I have to say a big thanks to:

And for the great issue reports, I want to thank:

Well I think that is a wrap. For a full list of changes, issues and commits see below:

Glimpse 1.8.3 released – Insights removed

Today we had an unscheduled release of Glimpse. This was to remove the Insights “feature” which was introduced in the last release – 1.8.2. Its removal is based on the feedback we received from the community since going live.

Background
For a long time now, we have been trying to work on ways to get better feedback about how people use Glimpse. We routinely hear from people on Twitter, via the issue list and at conferences, unfortunately, this feedback is fairly anecdotal and hard to quantify. We decided to try and get usage analytics directly from the client itself.

In thinking about this, we decided to ask the community what they thought. Before we release 1.8.2, we posted our thoughts on this blog – Getting greater insights into Glimpse – and out on Twitter, asking for feedback, and received no negative response.

This morning, we received feedback from the community that the Insights feature isn’t desired (at least in its current form) and until we can make a decision as a community, we have removed the feature and released this update.

Moving Forward
From this experience, its clear that the communication channels that we have, and the process of lazy consensus, can’t adequately cover all situations. In addition, for changes such as this, we should work much harder to get/force a response from the community before moving forward.

I’m happy that the we where able to respond to community feedback quickly and hope that we can continue to do so in the future.

Thanks to those who participated in the discussion and I’m glad we came to a good outcome.

Glimpse 1.6.0 released

Since our last release a fair bit of time has passed. Most of this has been taken up with speaking at MonkeySpace (expect a post on this in the future) and trying to take a good swat at knocking off a few key bugs that have been building up. That said we did manage to squeeze in a few useful new features.

Server Timing
We got a few requests come through to show the time on the server. This is useful for tracking down inconstancies in the time between the client and server or delta between the server and a trusted time source (some public NTP source for example). Time can also become important when dealing with things such as encryption / authentication, or when server has issues with wrong DST settings.

Here is a screenshot of what to expect:
TimeZoneDetails
This shows shows full server time, if DLS is in effect and delta between client and server time.

Environment Tab
We have also made some updates to the Environment Tab to show more version information. The thought process is that with Nuget packages that are starting to use the full SemVer spec (specifically pre-release and build metadata) just showing the standard version isn’t enough any more. Packages like EntityFramework have the same 6.0.0.0 version number during the whole pre-release cycle, but have different package versions. Hence now, we show the full version number that is used in Nuget if its available.

This is what the new details look like:
EnvironmentTab

This is useful when you want to confirm that the correct version of a package installed.

Release Notes

  • Glimpse.Core – Welterweight release 1.6.0
    • Add server “clock” time to HUD (shows full server time, if DLS is in effect and difference between client and server time)
    • Update to client to pulse tabs to try and show that the state context has changed
    • Update to client to show a loading message (instead of an error message) to give the data a chance to load
    • Update to client for Principal vs. Principle
    • Update to client to support object values having layouts
    • Fix bug where JSON.NET could screw up self reference loops
    • Fix small typo in update notification on glimpse.axd
  • Glimpse.ASP.NET – Middleweight release 1.4.0
    • Add server “clock” time to HUD (shows full server time, if DLS is in effect and difference between client and server time)
    • Update Environment tab update to show more version Info
    • Fixed issue where tabs could randomly disappear in some cases
    • Fixed issue where calls to HttpContext.Request in IIS7 Integrated mode threw exceptions
    • Fixed issue where query string parameters with a null key would throw an exception
    • Fixed issue to make Glimpse NuGet package discovery more stable
    • Update to make the injection of the the script tags into the rendered pages more robust
    • Update Environment tab to make it more realilant to exceptions in different protection modes
    • Update to make it easier to get Glimpse working when using dynamic compression
  • Glimpse.MVC* – Featherweight release 1.3.3
    • Minor adjustment to bring NuGetPackage inline with eachother
  • Glimpse.ADO – Lightweight release 1.5.0
    • Add support for profiling DbDataAdapter.Fill() correctly

Special Thanks
In terms of pull requests, I have to say a big thanks to:

And for the great issue reports, I want to thank:

Release Details
Well I think that is a wrap. For a full list of changes, issues and commits see below:

Side Note
We currently know there is an issue with our EF6 package being broken with EF6 Beta1. We hope to have this fixed soon.

Parting words
Let us know if you have any thoughts or comments and I hope you enjoy this release.

Glimpse 1.5.0 released

Well its that time again and we have another release ready to go. This one has a couple of cool new features and a whole bunch of fixes/improvements. Of late we have been pushing so hard to get new features out the door we decided that at a certain point “a chicken needs to come home to roost”.

Configuration Generator
This feature will hopefully make it more discoverable how to turn various features of Glimpse on or off, without having to go searching for it. It is also designed to help reduce the support burden we have by allowing people to discover and build the config they have. PLEASE NOTE, this only generates the config you need to copy over to your web.config, these changes aren’t made live to the system.

GlimpseConfigurationGenerator

From the highlighted sections, you can see how you can open the generator by clicking on the “Start Configuration Helper” button and then checking or unchecking the various checkboxes. What I really like about this helper is that its context sensitive to your system. As you can see, you are about to uncheck/check the tabs/policies/etc that are installed in your system.

If you have any thoughts about what else we can do here please let us know.

Host Tab Data Layout Change
Also in this release we have switched up the location of some of the data points in the Host tab. In previous releases there was some inconsistencies with where the data points where places in relation to the other HUD sections, hence the Host section has now been brought inline.

GlimpseHostTab

So don’t get caught out by these changes. Take the time to get reacquainted with the changes.

Popup Sections Spacing
The popup sections now have more space to play with. There were cases people would be caught out by having almost no width to play with and as a consequence have a very squashed data. This release sees a minimum amount allocated to each popup. This is a UX change we aren’t 100% sure about, so make sure you let us know if you have any thoughts.

Ajax Linking
This is a great pull request we accepted from Christophe Gijbels. In short it allows you to click on one of the requests in the Ajax mouseover and have Glimpse opened with that request already selected.

GlimpseAjaxLink

This is a really cool feature, so have a play around and let us know what you think. Expect to see more links like this appearing over time.

Release Notes

  • Glimpse.Core – Lightweight release 1.5.0
    • Added Configuration builder to Glimpse.axd
    • Allow HUD Ajax Request to click directly through to main HUD
    • Changed the position of data points in Host popup
    • Allow HUD mouse overs to take up more space if needed
    • Make HUD sections collapsible when mouse overs opened
    • Update to allow glimpse to work for request with a Content Type of “text/plain”
    • Minor fix where Host tab could throw exception if data was missing
    • Minor fix to remove some exceptions in the client that occurred in IE8
    • Minor fix to metadata which didn’t output in some rare cases
    • Minor optimization in the client for cases where tabs could rerender
    • Fixed UI glitch that would prevent Glimpse being opened once the HUD Ajax calls had been detected
    • Minor improvement to make tabs use explicit box-sizes
    • Minor fix to improve HUD processing of Ajax request that don’t have a Content Type
    • Minor fix for client error on Configuration Tab when connectionStrings is null
    • Update to glimpse.axd which showed Policies under the Inspectors heading
  • Glimpse.ADO – Flyweight release 1.4.1
    • Fix error calling what could occur when binding DataReader’s to controls
    • Made GlimpseDbDataAdapter public to allow it to be accessed in different cases
  • Glimpse.EF* – Middleweight release 1.3.1
    • Majorish feature where we now support DbSpatialServices (EF5 .NET45 and EF6)
  • Glimpse.ASP.NET – Bantamweight release 1.3.1
    • Remove styling from URL column in Route tab
    • Added defensive try/catch around some system call in Environment call to be more defensive

Other news
Also in this release cycle we had our Regular Town Hall where we discussed all the project happenings coming up. We try to have these once a month, so if you would like to join the next one, keep an eye out on the blog.

We also accepted Christophe Gijbels to the ranks of the Glimpse committers. If you get a chance, take a moment to congratulate him and welcome him to the team.

Special Thanks
In terms of pull requests, I have to say a big thanks to:

And for the great issue reports, I want to thank:

Release Details
Well I think that is a wrap. For a full list of changes, issues and commits see below:

Parting words
Let us know if you have any thoughts or comments and I hope you enjoy this release.

Glimpse Town Hall #3

Its been a little while, but as promised, we are back again with another Town Hall meeting!

Last meeting was quite successful, hence we are back again and hope to have even more content, and we are working through an agenda now. If there is something you’d like to share, see or hear about, please add a comment to this post.

Agenda

  • HUD roundup and future
  • Project management and our focus on openness
  • Welcome to our new Core Contributor
  • Look at what Glimpse could do with Azure
  • What’s happening next, what would people like to see?
  • Question and Answer

The meeting will be Tuesday, July 2nd at 4:00 PM (UTC-5:00). We’ll be on Google Hangout again, so bring along your microphone and web cam if you can! (Or just text chat with us…)

Hope to see you there!

Glimpse NDC talk and video up

Well its the end of another week and this one has been full of fixing bugs and addressing issues. Also, just catching up and taking stock of where we are at and what we are doing next.

In the mean time I would like to leave you with the video of the talk on Glimpse that I did at NDC earlier in the month:

Post

This video is worth watching as I go into the why’s and how’s of the problem space Glimpse is working in and motivations of what is driving our current direction.

Also here are the slides from the talk.

Let us know what you think.