Migrating from ASP to ASPX
Migrating from ASP to ASPX
Migrating from ASP to ASPX
Migrating from ASP to ASPX
Migrating from ASP to ASPX
Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX
Migrating from ASP to ASPX Migrating from ASP to ASPX
Migrating from ASP to ASPX
Go Back  Xtreme Visual Basic Talk > > > Migrating from ASP to ASPX


Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2007, 06:24 PM
Eduardo Lorenzo's Avatar
Eduardo Lorenzo Eduardo Lorenzo is offline
Senior Contributor
 
Join Date: Jun 2006
Location: Manila, Philippines
Posts: 846
Default Migrating from ASP to ASPX


Hi everybody.

Am now faced with a new project and it is requiring me to "modify" an existing website and "migrate" it from classic ASP to ASP.Net.

This is the first time I will be attempting to do this.

How simple/complex is this task? I have thought of rebuilding the whole site from the ground up but the time constraints simply won't allow that.

Any ideas on how to do this?

thanks for all answers.

btw, I have no previous experience with classic ASP
__________________
Pinoy ako.. ipinagmamalaki ko.
Reply With Quote
  #2  
Old 02-20-2007, 08:44 AM
wayneph's Avatar
waynephMigrating from ASP to ASPX wayneph is offline
Web Junkie

Retired Moderator
* Expert *
 
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
Default

The only way is to start from the ground up. The way classic ASP applications were built have nothing in common with the way .NET applications are built. Period.
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
Reply With Quote
  #3  
Old 02-21-2007, 10:56 PM
Eduardo Lorenzo's Avatar
Eduardo Lorenzo Eduardo Lorenzo is offline
Senior Contributor
 
Join Date: Jun 2006
Location: Manila, Philippines
Posts: 846
Default

shoot.. no migration wizard? not even for 2005?
__________________
Pinoy ako.. ipinagmamalaki ko.
Reply With Quote
  #4  
Old 02-22-2007, 06:03 AM
mountainbiking's Avatar
mountainbiking mountainbiking is offline
Junior Contributor
 
Join Date: Oct 2002
Posts: 259
Default

Since ASPX operates on a totally different framework there is no type of migrations whatsoever. There are also reasons like the spaghetti coding of classic ASP that make it impoosible to do a conversion. I have Classic ASP experience and I am just getting acclimated with ASP.Net and I can tell you they are nothing alike (I am saying that cause I saw you mentioned you have no former classic ASP experience).

Good luck! The organization funding the project will have to come to the fast realization that it will need to be designed from the ground up.

I have a small application I use for my job function that I created in Classic ASP it is only about 20 pages... even that needs to be totally redesigned in ASPX.
Reply With Quote
  #5  
Old 02-22-2007, 03:44 PM
Eduardo Lorenzo's Avatar
Eduardo Lorenzo Eduardo Lorenzo is offline
Senior Contributor
 
Join Date: Jun 2006
Location: Manila, Philippines
Posts: 846
Default

Shoot.. well I have already evaluated the pages and passed the report and some support documents (I'm tempted to include your replies) that should help the company re-consider.

Thanks for the replies guys..
__________________
Pinoy ako.. ipinagmamalaki ko.
Reply With Quote
  #6  
Old 02-23-2007, 12:31 AM
Eduardo Lorenzo's Avatar
Eduardo Lorenzo Eduardo Lorenzo is offline
Senior Contributor
 
Join Date: Jun 2006
Location: Manila, Philippines
Posts: 846
Default

er.. follow-up question:

What if I construct the New pages in .Net and keep the old ones in asp? What issues do you think I will face in that scenario?
__________________
Pinoy ako.. ipinagmamalaki ko.
Reply With Quote
  #7  
Old 02-23-2007, 07:04 AM
mountainbiking's Avatar
mountainbiking mountainbiking is offline
Junior Contributor
 
Join Date: Oct 2002
Posts: 259
Default

You can do that. It all depends on how you are exchanging data from page to page. If your pages can be considered primarily independent of one another then you would be fine.

I have done something like this... for example I have all my old update/add pages in ASP (lack of time to covert) and I have my display pages in ASP.Net due to the ease of sorting, searching, etc. I use Session Variables to manage logins so that has not changed either...
Reply With Quote
  #8  
Old 02-23-2007, 11:53 AM
csi95 csi95 is offline
Newcomer
 
Join Date: Nov 2006
Location: Albany, NY
Posts: 14
Default

Quote:
Originally Posted by mountainbiking View Post
I use Session Variables to manage logins so that has not changed either...
Be careful with this one...

You cannot directly share session variables between Classic ASP and ASP.NET pages. There are tricks you can use to get around this (see Google), but it's ugly.
Reply With Quote
  #9  
Old 02-23-2007, 12:27 PM
mountainbiking's Avatar
mountainbiking mountainbiking is offline
Junior Contributor
 
Join Date: Oct 2002
Posts: 259
Default

I would like to hear a little more about this one since I am using asp and asp.net in the same web app and I am having no issues.
Reply With Quote
  #10  
Old 02-23-2007, 04:52 PM
Eduardo Lorenzo's Avatar
Eduardo Lorenzo Eduardo Lorenzo is offline
Senior Contributor
 
Join Date: Jun 2006
Location: Manila, Philippines
Posts: 846
Default

Yes, some members of the old team said that the Session variable declared in classic asp cannot be referred to as readily as those declared in asp.net?

But it should still be Request.QueryString for string variables right?
__________________
Pinoy ako.. ipinagmamalaki ko.
Reply With Quote
  #11  
Old 02-23-2007, 05:14 PM
mountainbiking's Avatar
mountainbiking mountainbiking is offline
Junior Contributor
 
Join Date: Oct 2002
Posts: 259
Default

Yes, that I can assure you that Request.QueryString and Request.Form will work....

Now obviously handling the strings once captured is TOTALLY different.
Reply With Quote
  #12  
Old 02-23-2007, 05:22 PM
Eduardo Lorenzo's Avatar
Eduardo Lorenzo Eduardo Lorenzo is offline
Senior Contributor
 
Join Date: Jun 2006
Location: Manila, Philippines
Posts: 846
Default

Darn..

SO, in my .Net code, I can do something like a

Response.Redirect("nextpage.asp?&value=" & txtName.Text)

or something like that?
__________________
Pinoy ako.. ipinagmamalaki ko.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Migrating from ASP to ASPX
Migrating from ASP to ASPX
Migrating from ASP to ASPX Migrating from ASP to ASPX
Migrating from ASP to ASPX
Migrating from ASP to ASPX
Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX Migrating from ASP to ASPX
Migrating from ASP to ASPX
Migrating from ASP to ASPX
 
Migrating from ASP to ASPX
Migrating from ASP to ASPX
 
-->