twitter.bootstrap.mvc icon indicating copy to clipboard operation
twitter.bootstrap.mvc copied to clipboard

Adding Glimpse nuget package breaks navigation extension

Open richardjharding opened this issue 11 years ago • 6 comments

To be fair not sure if this is an issue for this project or Glimps but as Glimpse is a popular add on to mvc thought it was worth raising

Adding in Glimps causes the GetRoutesForCurrentRequest method to fail as all routes are returned as Glimpse route proxy types and so the query for objects of type NamedRoute returns zero results

richardjharding avatar Apr 15 '13 14:04 richardjharding

Good find, I think with the new routing functionality this may not be as much of an issue

On Monday, April 15, 2013, gaspode44 wrote:

To be fair not sure if this is an issue for this project or Glimps but as Glimpse is a popular add on to mvc thought it was worth raising

Adding in Glimps causes the GetRoutesForCurrentRequest method to fail as all routes are returned as Glimpse route proxy types and so the query for objects of type NamedRoute returns zero results

— Reply to this email directly or view it on GitHubhttps://github.com/erichexter/twitter.bootstrap.mvc/issues/90 .

Eric Hexter

blog | http://Hex.LosTechies.com info | http://www.linkedin.com/in/erichexter

erichexter avatar Apr 15 '13 14:04 erichexter

Confirmed this issue.

serra avatar Apr 15 '13 14:04 serra

@erichexter Why do you think this won't be an issue in the new (and highly anticipated :smile:) navigation routes?

serra avatar Apr 15 '13 15:04 serra

Confirmed this issue and also ditto @serra in asking why it won't be an issue in the new navigation routes?

tulbox avatar May 09 '13 21:05 tulbox

Confirmed the issue.

nedimm avatar Jun 20 '13 07:06 nedimm

Fixed this issue by editing my glimpse settings in my web.config

  <glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
    <inspectors>
      <ignoredTypes>
        <add type="Glimpse.AspNet.Inspector.RoutesInspector, Glimpse.AspNet" />
      </ignoredTypes>
    </inspectors>
    <tabs>
      <ignoredTypes>
        <add type="Glimpse.AspNet.Tab.Routes, Glimpse.AspNet" />
      </ignoredTypes>
    </tabs>
    <!-- Runtime Policy Management
    <runtimePolicies>
        <ignoredTypes>
            <add type="{Namespace.Type, AssemblyName}" />
        </ignoredTypes>
    </runtimePolicies>
    -->
  </glimpse>

NeuralLink avatar Jul 31 '13 14:07 NeuralLink