Solved

Moving a Classic .ASP Project to VS.net

Posted on 2006-06-22
6
190 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

635 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