Solved

Moving a Classic .ASP Project to VS.net

Posted on 2006-06-22
6
185 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET Web Form Variables being reset 2 26
c# LinkButton OnClientClick 2 34
Error in query expression 3 37
Gridview alignment 1 10
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…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

21 Experts available now in Live!

Get 1:1 Help Now