473,387 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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 ?
Feb 21 '07 #1
3 1452
On 21 Feb, 10:53, Bit Byte <r...@your.box.comwrote:
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.

Feb 21 '07 #2
"Bit Byte" <ro**@your.box.comwrote in message
news:8f******************************@bt.com...
Is there a corollary in ASP.Net ?
http://www.google.co.uk/search?sourc...lt+Document%22
Feb 21 '07 #3
Use default.aspx instead of index.php and you should jave the same result...

"Bit Byte" <ro**@your.box.coma écrit dans le message de news:
8f******************************@bt.com...
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 ?

Feb 21 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Hugh Welford | last post by:
Hi I have recently changed web hosts, and am suddenly having the problem that IE is displaying cached ASP pages, i.e. displaying data base query results from the first assembly of the asp page....
36
by: spence | last post by:
Hi All How do I make it so that when a user clicks in a search text field, the default entry (in this case "Search") is removed automatically - they are then faced with a blank search box and...
6
by: Coleen | last post by:
Hi all :-) I need to redirect to multiple pages on click of a transmit button, without redisplaying each page. This redirection is to capture session variables that are created on each page and...
6
by: Shimon Sim | last post by:
Hi 1) Is it possible to force browser to open image in default windows application? That is what specifies in Folder Options for jpg extension. 2) Also if the 1) is possible is it possible to...
11
by: John McMonagle | last post by:
Is there a python module which can determine an operating system's default web browser application. I would like to use it in the following context: I have a GUI application where all the...
0
by: Joey | last post by:
I have a web app that contains several subfolders. In one of them, I have a page set up as "Default.aspx", so users can hit it just by typing the directory name in the browser address bar (example:...
12
by: Mel | last post by:
I have a page with a <DIVthat gets updated every 10 seconds. The problem is that unless the browser is configured to get new pages at all times, it displays the page from cache. Is there a way...
3
by: ytterbius | last post by:
Hello, I have a site with several pages. When I debug in visual developer I'm able to open the various pages and see them as they should appear online. However, when I move the pages to...
1
by: ytterbius | last post by:
Hello, I posted this earlier to the ASP section, but I think the problem is a IIS one. I have a site with several pages. When I debug in visual developer I'm able to open the various pages and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.