An easy and safe way to convert site with classic ASP (.asp) to ASPX

X

xfile

Hi all,

Again, a brief introduction as follows:

(1) Live site is running well with classic ASP pages shopping cart on
Windows 2003 server and SQL server.

(2) Environment does support ASPX, and I can develop new ASPX pages in the
same environment.

(3) Problems for displaying current ASP pages when saved it to ASPX pages.


Question: Can someone point me to where can I find more detailed
step-by-step instructions to convert current site and pages to ASPX?

I think sooner or later, this task has to be done so I wish to prepare it
now.

Many thanks in advance.
 
K

Kevin Spencer

There is no easy or safe way to do this. ASP.Net is a much more powerful,
and therefore, a much more complex technology. You might be better off
leavin it as ASP. ASP will continue to be supported by Microsoft for years
to come.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

Big thicks are made up of lots of little thins.
 
X

xfile

Hi,

Thanks and that coincides with my experience.

Yes, I tried to rename the page by saving it as ASPX, and it did not work.

However, I could use Expression Web Designer to come up a new (blank) ASPX
page within the site and to display it. So I guess our ISP and my local
machine do support .Net.

Thanks for the sharing.
 
X

xfile

Hi,

Thanks.

One additional question - Is it possible for ASP pages to work with ASP.NET
pages without any adverse effects?

For example, the default page is ASPX and the rest pages linked to the
default page are still ASP for the time being.

If so, which areas should I be careful?

I'm thinking to take a possible approach of developing newer pages with
ASP.NET (after confirming with our ISP for needed components are installed),
and gradually convert page-by-page to ASP.NET.

But I am not sure if ASP and ASP.NET can work seamlessly together.

Many thanks in advance.
 
K

Kevin Spencer

There are a couple of caveats here. First, ASP and ASP.Net are entirely
different processes (applications), so they do not share Application State
or Session. You can't mix the 2 in the same page. However, you can certainly
put both types of pages in the same web, assuming that it is configured to
support both.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

Big thicks are made up of lots of little thins.
 
X

xfile

Hi,

Thanks and I guess I know what you meant.

I can have both types in the same web which seems to be working in my case.

However, if my shopping cart, which has several pages linking to each other,
is using ASP, I cannot have some pages are using ASP and others are using
ASPX.

I need to have them all using the same either ASP or ASPX.

Thanks again and please let me know if I did not get it.
 
K

Kevin Spencer

A shopping cart generally uses some combination of Session and/or
Application. So, you're probably on track there.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

Big thicks are made up of lots of little thins.
 
X

xfile

Hi,

Thanks and just an update after some additional studies.

It seems to be a difficult job if we want to convert existing ASP-based
shopping cart to a dotnet-based one, kind of like to re-write a new one.

I guess the underlying challenge is different programming languages are used
for the two, one is based on VBscript and the other is based on VB.net.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top