Solved

Moving a Classic .ASP Project to VS.net

Posted on 2006-06-22
6
186 Views
Last Modified: 2006-11-18
Is it possible to take an existing web site built on ASP and work with it in  VS 2003? If so, please provide details. For example, will VS recognize the Global.asa file? How about includes written with the .inc extension?

Thanks
0
Comment
Question by:jaysch
  • 3
  • 3
6 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 16964062
We are currently undergoing a major conversion from ASP classic to ASP.NET, and it is not a simple conversion process.  Suggestion:  Don't waste your time with migration--rewrite.

Bob
0
 

Author Comment

by:jaysch
ID: 16964366
I'm not trying to migrate the asp app to asp.net, I just want to use VS 2003 with a classic asp web.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 16964405
We do it all the time, but you need magic if you want the session to go between ASP and ASP.NET.  Global.asa is now Global.asax, and Global.asax.vb for the code-behind.

I believe that .inc files are still recognized.

Bob
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:jaysch
ID: 16969744
Bob,

Again, this web site is strictly asp with no crossover into .Net. But if I hear you correctly, you're saying that an asp app/website/project can be setup and managed in VS 2003? I don't want to use InterDev as all my other projects are .Net and I'm not crazy about the VS 6 IDE. Any gotchas that you can think of? I'm also assuming that I would continue to use vintage asp components including the Global.asa and not the Global.asax?

Thanks for your input
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 250 total points
ID: 16969813
I don't believe that ASP.NET recognizes the Global.asa file.  You have to transfer the functionality from that file to the Global.asax format.  We are interoperating ASP class with ASP.NET as the scope of the project prohibits converting the entire project to ASP.NET.  So, it becomes a piece meal style migration.  Once you start getting away from ASP, though, you'll notice the air is much clearer, and you'll start asking yourself why you even thought ASP classic was cool ;)

Bob
0
 

Author Comment

by:jaysch
ID: 16970676
Thanks for the info Bob, appreciate it.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Run time Error 4 47
SQL Login 17 48
Displaying a web form as a modal popup dialog box. 4 30
asp.net mvc5 6 12
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now