erichexter / twitter.bootstrap.mvc

nuget package to make bootstrap easy with mvc4
Apache License 2.0
248 stars 134 forks source link

Adding Glimpse nuget package breaks navigation extension #90

Open richardjharding opened 11 years ago

richardjharding commented 11 years ago

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

erichexter commented 11 years ago

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

serra commented 11 years ago

Confirmed this issue.

serra commented 11 years ago

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

tulbox commented 11 years ago

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

nedimm commented 11 years ago

Confirmed the issue.

NeuralLink commented 11 years ago

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>