asp.net page rename
-
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?
-
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?
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
-
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?
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!
-
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?
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.