glimpse

How to disable Glimpse, the difference between turning Glimpse.axd off and defaultRuntimePolicy=“Off”

扶醉桌前 提交于 2019-12-10 13:48:18
问题 What is the difference between 1) turning Glimpse off via the web.config's setting: <glimpse defaultRuntimePolicy="Off" endpointBaseUri="~/Glimpse.axd"> 2) turning it off via Glimpse.axd As I understand it, 1) will turn off all the tracing whereas 2) will stop the return of the traces to that particular browser session, but tracing will still be happening on the server. As I understand it, the only way to turn Glimpse off, say for a production instance, to remove any Glimpse processing

Unable to cast object of type 'Glimpse.Ado.AlternateType.GlimpseDbConnection' to type 'System.Data.SqlClient.SqlConnection'

和自甴很熟 提交于 2019-12-08 15:04:18
问题 I am getting an "System.InvalidCastException occurred" exception where I am using the EF 6 asynchronous functionality. The message is: Unable to cast object of type 'Glimpse.Ado.AlternateType.GlimpseDbConnection' to type 'System.Data.SqlClient.SqlConnection'. This application was upgraded from MVC4 to MVC5 and is using the .Net Framework 4.5 for the first time. I am aware this has been raised as an issue before; https://github.com/Glimpse/Glimpse/issues/540 but I tried getting the latest

Custom Timeline items in Glimpse

拟墨画扇 提交于 2019-12-08 08:39:10
问题 I've only just started looking a profiling for an MVC3 application. I found MiniProfiler first, and then found recommendations for using Glimpse. Both seem great, and I'd rather use Glimpse, but I'd like to add entries to the timeline for specific actions. MiniProfiler has a nice feature where you can grab the current MiniProfiler context and add a step with the using() command. Is there a similar thing with Glimpse? I did find an entry with someone explaining how to do it the long way, but

Discrepancy between DB Query count in Glimpse HUD & SQL Tab

青春壹個敷衍的年華 提交于 2019-12-07 07:47:48
问题 This question concerns Glimpse.MVC3 and Glimpse.EF5 packages. I'm trying to debug performance issues on an old MVC3 site. According to Glimpse's HUD , a particular GET request has 12 queries at 28ms total - but when I expand to open up the Main Panel, and click the SQL Tab , it says there are only 6 queries at 10.41ms total. Both the count at the top says 6, and when I count the queries it lists, there are 6. This would also make sense when I see the code written. (Either way I can see too

Glimpse.axd 403ing On IIS

大城市里の小女人 提交于 2019-12-07 03:06:19
问题 When trying to access /Glimpse.axd after I've published to IIS (7.5), I'm now receiving a 403 Forbidden response. Is there a setting in IIS that disables access to .axd files? Or is this something else entirely? 回答1: This is usually due to the fact that your source IP Address is not allowed in the web.config section for Glimpse. I just ran in to this issue yesterday. Look for this in your web.config file, it can go anywhere in the web.config file. <glimpse enabled="true"> <ipAddresses> <!--

Installed glimpse attempting to access glimpse.axd and receive 404 error?

夙愿已清 提交于 2019-12-05 15:55:55
问题 It is a simple as that I installed glimpse following this page. : http://getglimpse.com/About/QuickStart I then attempt to navigate to http://myApp/glimpse.axd and receive 404 error not found. As you can see in the Quickstart there is this statement. : If you get a "Page not found" when browsing to "/glimpse.axd" check the troubleshooting section in the FAQ. There is nothing in the FAQ regarding this. I have skimmed this website and getGlimpse.com attempting numerous other configurations and

Glimpse.axd 403ing On IIS

若如初见. 提交于 2019-12-05 05:55:43
When trying to access /Glimpse.axd after I've published to IIS (7.5), I'm now receiving a 403 Forbidden response. Is there a setting in IIS that disables access to .axd files? Or is this something else entirely? CrazyCoderz This is usually due to the fact that your source IP Address is not allowed in the web.config section for Glimpse. I just ran in to this issue yesterday. Look for this in your web.config file, it can go anywhere in the web.config file. <glimpse enabled="true"> <ipAddresses> <!-- List of IP addresses allowed to get Glimpse data. Optional. localhost (IPv4 &IPv6) by default -->

Can't Get Glimpse To Work On Remote IIS

回眸只為那壹抹淺笑 提交于 2019-12-05 00:30:29
问题 I've tried everything I can think of, so I'm turning to SO. I can't get Glimpse to work on a remote IIS server. I'm using Glimpse 1.2 with ADO, ASP.NET, EF5, and Mvc4 extensions. Everything works wonderfully when I launch the web application locally using the VS development server. However, I can't seem to get the Glimpse icon to show up when deploying to our remote development server. Here's what I've tried and noticed: I am ignoring the LocalPolicy in my web.config : <glimpse

Should I deploy Glimpse to the production site?

你。 提交于 2019-12-04 07:40:54
问题 I recently added the Glimpse Debugger package to my project. This added a reference to the Glimpse dll, and modified some Web.Config. I like my project as much the same as possible on my development and production environment. So is it save/wise to deploy Glimpse to my production site, or should I create a different project (or create branch from my csproj file) to keep it only locally? Stuff that I'm worried about include: Performance Security breaches 回答1: I believe if the cookie for

Can't Get Glimpse To Work On Remote IIS

主宰稳场 提交于 2019-12-03 16:10:30
I've tried everything I can think of, so I'm turning to SO. I can't get Glimpse to work on a remote IIS server. I'm using Glimpse 1.2 with ADO, ASP.NET, EF5, and Mvc4 extensions. Everything works wonderfully when I launch the web application locally using the VS development server. However, I can't seem to get the Glimpse icon to show up when deploying to our remote development server. Here's what I've tried and noticed: I am ignoring the LocalPolicy in my web.config : <glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd"> <inspectors> <ignoredTypes> <add type="Glimpse.Mvc