Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I need a tool to analyse ASP.Net web site source code and list pages not referred to

I need a tool to analyse ASP.Net web site source code and list pages not referred to

Scheduled Pinned Locked Moved The Lounge
csharpasp-netquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    ian dennis 0
    wrote on last edited by
    #1

    Does anyone know of a tool that will analyse the source code behind an ASP.Net web site, and list pages that are not referred to, or methods that are not referred to? I have this disgusting habit of removing the navigation link to a page because it is no longer needed, but leaving the page in place "just in case" then forgetting I've done that. Same with methods.

    A W 2 Replies Last reply
    0
    • I ian dennis 0

      Does anyone know of a tool that will analyse the source code behind an ASP.Net web site, and list pages that are not referred to, or methods that are not referred to? I have this disgusting habit of removing the navigation link to a page because it is no longer needed, but leaving the page in place "just in case" then forgetting I've done that. Same with methods.

      A Offline
      A Offline
      AspDotNetDev
      wrote on last edited by
      #2

      Not sure I would trust such a tool, though I suppose it could work much of the time. May not work well for dynamically generated URL's, such as this:

      Response.Redirect(Path.Combine(Config.BaseUrl, Config.EditPage));

      Though, it should be pretty easy to find methods that aren't referenced (except for when it's done via reflection!). Maybe turn on warnings in the output or use something like StyleCop.

      [WikiLeaks Cablegate Cables]

      1 Reply Last reply
      0
      • I ian dennis 0

        Does anyone know of a tool that will analyse the source code behind an ASP.Net web site, and list pages that are not referred to, or methods that are not referred to? I have this disgusting habit of removing the navigation link to a page because it is no longer needed, but leaving the page in place "just in case" then forgetting I've done that. Same with methods.

        W Offline
        W Offline
        wizardzz
        wrote on last edited by
        #3

        There's a lot of tools around here, but most left the weekend.

        "Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" — Hunter S. Thompson

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups