Report that lists total number of unique aspx files in project

Last post 06-21-2009 1:41 PM by chintanpshah. 1 replies.

Sort Posts:

  • Report that lists total number of unique aspx files in project

    06-21-2009, 7:11 AM
    • Member
      78 point Member
    • ado
    • Member since 07-27-2006, 8:27 AM
    • Posts 59

    Hello,

    I was recently asked to create a report listing all aspx files in an VS 2005 web aplication project.

    I was able to count the number of static pages in the project easily using Visual Studios regular expression search box where i filtered on finding all file names with an *aspx extension.

    The next challenge lay where i was asked to also include all pages with unique parameters.

    :i.e.: for a page called dynamicpage.aspx - it can load normally without parameters but it also contains two sets of parameters like so: dynamicpage.aspx?param1=x  and dynamicpage.aspx?param1=x&param2=y - therefore this page needs to be listed 3 times in the report list i need to create.

    Whats the best approach for counting aspx files with various different parameters like above?

     If this isn't clear enough let me know

    Thanks

      

  • Re: Report that lists total number of unique aspx files in project

    06-21-2009, 1:41 PM
    Answer
    • Star
      10,272 point Star
    • chintanpshah
    • Member since 11-19-2008, 12:39 AM
    • Ahmedabad
    • Posts 1,834

    I don't think that there is any feature in VS 2008 for this.

    What you can do is created a Table with PageName, ParameterName in DB and log each and every request to you application.

    Go through all page with all parameter types and use DB table to query for the unique occurences of PageName and ParameterName.

    Hope this helps...

    Don't forget to mark as answer, if it helps
Page 1 of 1 (2 items)