Mapping paths to aspx pages

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Samuel Kim (look341_at_gmail.com)
Date: 02/21/05


Date: 20 Feb 2005 22:03:49 -0800

Hi,

Is there any way that we can map a path to a aspx file at a different
location?

In essence, I need to make different http addresses to point ot he same
aspx file - for example,
http://server/webprj/abc/index.aspx
http://server/webprj/def/index.aspx
to point ot the same aspx file (say at /webprj/index.aspx)

I'm planning to apply different skin (style) on different folders, but
want to keep the aspx file in one place - so I don't have to edit 10
different index.aspx file when a change is required.

I have thought about
1) virtual folders in IIS, and
2) keeping same aspx files with same code-behind

but want to find out if there is a neater way to solve this issue.


Quantcast