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. Web Development
  3. ASP.NET
  4. asp.net page rename

asp.net page rename

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorialquestion
4 Posts 4 Posters 1 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.
  • S Offline
    S Offline
    sc steinhayse
    wrote on last edited by
    #1

    In a C#.net web form 2010 application, I can not find some *.aspx files that the site map is looking. I want to look into other options before I tell my company I am missing some *.aspx pages. Thus are there ways to rename an *.aspx file to something else? This way the user would not be aware of the real *.aspx page? For example in the web.config file I know you can do something like the following: Are there other options like this? If so, can you tell me and/or point me to a reference that could explain the ways an *.aspx page could be renamed?

    R T J 3 Replies Last reply
    0
    • S sc steinhayse

      In a C#.net web form 2010 application, I can not find some *.aspx files that the site map is looking. I want to look into other options before I tell my company I am missing some *.aspx pages. Thus are there ways to rename an *.aspx file to something else? This way the user would not be aware of the real *.aspx page? For example in the web.config file I know you can do something like the following: Are there other options like this? If so, can you tell me and/or point me to a reference that could explain the ways an *.aspx page could be renamed?

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      Seriously? Just hope there is nothing important on the missing pages. Are they not backed up anywhere? Have you tried to determine if it is, in fact, the sitemap that is incorrect?

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      1 Reply Last reply
      0
      • S sc steinhayse

        In a C#.net web form 2010 application, I can not find some *.aspx files that the site map is looking. I want to look into other options before I tell my company I am missing some *.aspx pages. Thus are there ways to rename an *.aspx file to something else? This way the user would not be aware of the real *.aspx page? For example in the web.config file I know you can do something like the following: Are there other options like this? If so, can you tell me and/or point me to a reference that could explain the ways an *.aspx page could be renamed?

        T Offline
        T Offline
        taha bahraminezhad Jooneghani
        wrote on last edited by
        #3

        Use url mapping into your config file!

        <urlMappings enabled="true">
        <add url="~/home" mappedUrl="~/default.aspx" />
        <add url="~/about" mappedUrl="~/about.html" />
        <add url="~/contact" mappedUrl="~/contact.aspx" />
        </urlMappings>

        you can map your lost page to existing page!

        1 Reply Last reply
        0
        • S sc steinhayse

          In a C#.net web form 2010 application, I can not find some *.aspx files that the site map is looking. I want to look into other options before I tell my company I am missing some *.aspx pages. Thus are there ways to rename an *.aspx file to something else? This way the user would not be aware of the real *.aspx page? For example in the web.config file I know you can do something like the following: Are there other options like this? If so, can you tell me and/or point me to a reference that could explain the ways an *.aspx page could be renamed?

          J Offline
          J Offline
          jkirkerx
          wrote on last edited by
          #4

          The asp.net site map is not automatic, but created by someone, so the possibility of an error exist. If your talking about the solution explorer, that's another story. the missing files may of been dragged and dropped into another folder by accident, and you just don't see them.

          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