Solved

Moving a Classic .ASP Project to VS.net

Posted on 2006-06-22
6
188 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses

751 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