473,473 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Existing asp page -> Compiled aspx without changing the path

I have an existing asp page that I would like to upgrade/convert to
aspx. It gets a million or two hits per day, so I'm surmising that at
a minimum I would benefit from compilation and the OutputCache
directive. If not, please stop me now!

In any event, since this page is linked to by numerous external sites,
I can't change the path or even the extension. How can I go about
creating an ASPX application in the same location while also
maintaining the .asp extension on the page?

Many thanks,
Dave
Nov 18 '05 #1
2 1479
There might be better ways but you could always change the code in the .asp page to a single line: a response.redirect to the .aspx page. Inform webmasters of external sites to start using the .aspx extension. Over time, you could then delete the .asp page after noone is using it anymore..
Nov 18 '05 #2
Well you can do that by playing with the "Application Configuration" under IIS. Just change .asp pages to run under what your .aspx pages run under. For me its "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet _isapi.dll" I don't think you want to do that though, this would make all existing .asp pages on your application be processed through aspnet (I don't see how you could accomplish a single page only configuration within the same application). Have you given any thought to issuing a HTTP 301 error for the page?, I've never tried it, but I would think the browser would redirect you to the page it specifies.

Also if your page is getting that many hits, you may want to move to a solution where there is no page name, assuming at some point you may have to make this change again. Take google for instance, you never see a "search.html" file, it is all handled at the webserver and requests at the directory level (which a default document is spit out)

Hope this helps,
--Michael

"Dave" <da****@memturbo.com> wrote in message news:26**************************@posting.google.c om...
I have an existing asp page that I would like to upgrade/convert to
aspx. It gets a million or two hits per day, so I'm surmising that at
a minimum I would benefit from compilation and the OutputCache
directive. If not, please stop me now!

In any event, since this page is linked to by numerous external sites,
I can't change the path or even the extension. How can I go about
creating an ASPX application in the same location while also
maintaining the .asp extension on the page?

Many thanks,
Dave

Nov 18 '05 #3

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

Similar topics

15
by: DesignGuy | last post by:
I've inherited a site that has 1000+ product pages that follow a similar layout. I would like to import these pages into a database for ease of future updating. The pages have the usual banners,...
13
by: Stephen Kay | last post by:
Is there a way to redirect every single page on an existing web site through a php function? In other words, say I have a whole functional HTML web site, never written to use any php. Now I...
1
by: Greg Collins [Microsoft MVP] | last post by:
I have a situation where a particular error page is being redirected to (Server.Transfer) and in most cases it works correctly loading the correct master page and rendering as it should. In...
0
by: AboutJAV | last post by:
I created a crystal report with the report.rpt reportdata.xsd I created the a new dataset with the reportdata myreportdata = new reportdata(); That automatically created a new dataset...
1
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I am using vs2005 and have an existing webform that I would like to add to a master page to show up in the contentplaceholder. I tried going to website and add existing item but did not see how...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.