Connecting Tech Pros Worldwide Forums | Help | Site Map

default pages in ASP.Net + not displaying page names in browser ...How?

Bit Byte
Guest
 
Posts: n/a
#1: Feb 21 '07
Is it possible to not display a page name in the browser - i.e. not show
the ".aspx" extensions in the browser ?.

Typically, a link on an ASP.Net website would look something like this:

http://www.thewebsite.com/folder1/page.aspx

I want to drop the page name completely, so the above link would be
(instead) :

http://www.thewebsite.com/folder1/

For example, for PHP based websites, the default script launched (per
specified folder) is index.php - so one does not have to explicitly
specify the script being run as part of the url.

Is there a corollary in ASP.Net ?

Paul
Guest
 
Posts: n/a
#2: Feb 21 '07

re: default pages in ASP.Net + not displaying page names in browser ...How?


On 21 Feb, 10:53, Bit Byte <r...@your.box.comwrote:
Quote:
Is it possible to not display a page name in the browser - i.e. not show
the ".aspx" extensions in the browser ?.
>
Typically, a link on an ASP.Net website would look something like this:
>
http://www.thewebsite.com/folder1/page.aspx
>
I want to drop the page name completely, so the above link would be
(instead) :
>
http://www.thewebsite.com/folder1/
>
For example, for PHP based websites, the default script launched (per
specified folder) is index.php - so one does not have to explicitly
specify the script being run as part of the url.
>
Is there a corollary in ASP.Net ?
AFAIK the page name and extension would need to be added to the
website through IIS.

Mark Rae
Guest
 
Posts: n/a
#3: Feb 21 '07

re: default pages in ASP.Net + not displaying page names in browser ...How?


"Bit Byte" <root@your.box.comwrote in message
news:8fWdnUWOmMc6vkHYnZ2dnUVZ8qminZ2d@bt.com...
Quote:
Is there a corollary in ASP.Net ?
http://www.google.co.uk/search?sourc...lt+Document%22


Patrice
Guest
 
Posts: n/a
#4: Feb 21 '07

re: default pages in ASP.Net + not displaying page names in browser ...How?


Use default.aspx instead of index.php and you should jave the same result...

"Bit Byte" <root@your.box.coma écrit dans le message de news:
8fWdnUWOmMc6vkHYnZ2dnUVZ8qminZ2d@bt.com...
Quote:
Is it possible to not display a page name in the browser - i.e. not show
the ".aspx" extensions in the browser ?.
>
Typically, a link on an ASP.Net website would look something like this:
>
http://www.thewebsite.com/folder1/page.aspx
>
I want to drop the page name completely, so the above link would be
(instead) :
>
http://www.thewebsite.com/folder1/
>
For example, for PHP based websites, the default script launched (per
specified folder) is index.php - so one does not have to explicitly
specify the script being run as part of the url.
>
Is there a corollary in ASP.Net ?

Closed Thread