Solved

Moving a Classic .ASP Project to VS.net

Posted on 2006-06-22
6
187 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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