Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 26th, 2005, 08:49 AM
Authorized User
 
Join Date: Jan 2005
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default Convert ASP web application to ASP.NET

Hello,

I am afraid this is going to sound like the most almighty stupid question...

I have written an application in ASP (VB Script).

I am thinking of re-creating the application in ASP.NET (VB.NET).

I am totally new to ASP.NET - will I need to start from scratch or can I re-use/adapt the majority of my existing ASP code?

I'd like to get a general feel for this... please can you paint the picture with broad brush strokes for me?

Thanks.

Steve

 
Old June 1st, 2005, 08:06 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The code you have written in VBScript will be reasonably easy to port over to VB.NET because the syntax is similar enough. However, the technique used in ASP is quite different than in ASP.NET so there will be some level of re-writing required to utilize the capabilities of ASP.NET and to implement it in a good approach. I'd recommend getting yourself familiar with the way ASP.NET works (the event driven model) so you can implement it correctly. Also, the way you will interact with the controls will be different than what you are used to in ASP.

-Peter
 
Old June 2nd, 2005, 06:52 AM
Authorized User
 
Join Date: Jan 2005
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, Peter.

Can I mix the two? Can I continue to run my ASP application, but just compile parts of the VB as library files that ASP.NET uses?

 
Old June 2nd, 2005, 07:26 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can make a .NET assembly callable from COM, so yes you can consume some .NET classes from an ASP application.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Web Application Administration dcct84 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 September 24th, 2007 04:28 PM
ASP.NET Web Application swifty_programmer ASP.NET 2.0 Professional 14 July 20th, 2007 08:05 AM
performance tuning of asp.net web application swati_joshi ASP.NET 1.0 and 1.1 Professional 1 July 14th, 2006 08:46 PM
Store problem in asp.net web application tj3157 VB.NET 2002/2003 Basics 3 February 1st, 2006 12:56 AM
RAISERROR on my ASP.NET Web Application ozzy SQL Server 2000 3 April 17th, 2005 11:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.