Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-16-2012, 01:59 AM   PM User | #1
dalezjc
New Coder

 
Join Date: Jun 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
dalezjc is an unknown quantity at this point
Classic ASP to DotNet (?)

Hi All,

I've got lots of classic ASP applications (thousands of lines of code) that I need to convert to, I think DotNet. I apologize for the idiotic questions, but is DotNet really the logical progression from classic ASP? Do I use Visual Studio for creating DotNet applications? Are there any type of converters that will (attempt) to convert classic ASP?

Thanks!
Dale
dalezjc is offline   Reply With Quote
Old 06-16-2012, 04:44 AM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
> is DotNet really the logical progression from classic ASP?

Yes and no. You *can* use most classic ASP techniques when creating an ASP.NET page (e.g., you can do stuff such as <%= Now() %>), but those techniques will limit your exploration of the full range of ASP.NET.

Quite frankly, there are more similarities between Classic ASP and PHP (for example) than there are between ASP and ASP.NET. At least when it comes to usual practices.

ASP.NET is enormously powerful, but to get to all its power, you really have to simply toss out the ASP code and start rewriting from scratch.

> Do I use Visual Studio for creating DotNet applications?

Yes. Period. Oh, there are other products on the market now that can create ASP.NET pages, but given that Visual Web Developer is a perfectly adequate free version of Visual Studio for any one person shop (or even any 3 to 6 person shop), there's no reason to go afield. Plus VWD will, if you want it to, always be in step with the latest versions of ASP.NET.

> Are there any type of converters that will (attempt) to convert classic ASP?

None that I'm aware of. And, quite frankly, I don't know that I would trust one to do a decent job if it existed. ASP.NET really and truly requires that you have an entirely different view of the web world that classic ASP did.

I wish I could give you a better answer, but I can't. We (a team of two) are faced with your same situation, and we have concluded that the only viable solution is to just start re-writing from the ground up. Luckily, our site is so data-centric that we can leave the admin pages in classic ASP while we change the user-facing pages to ASP.NET. The admin pages receive maybe 0.1% of the traffic that the user-facing pages do, so performance is not an issue. And they do a perfectly adequate job of putting data into the right places in the database, so why change them?
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 06-16-2012, 07:25 PM   PM User | #3
dalezjc
New Coder

 
Join Date: Jun 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
dalezjc is an unknown quantity at this point
Thanks for your thoughtful reply! Looks like it's time to start finding some VWD tutorials.

Thanks,
Dale
dalezjc is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:46 PM.


Advertisement
Log in to turn off these ads.