Possible Duplicate:
Classic ASP and ASP.NET Integration
I got to work on one application that is created in asp about 15 years ago. Now some functionalities are to be added into this application using .Net 4.0. This may sound silly but can .Net 4.0 be integrated with asp application? I understand asp was used before .Net came into existence and .Net came just 10 years ago. If it can be integrated, we could be saved from writing tons of code.
There is no reason why you cannot have .asp and .aspx pages within the same application. The only difficulty you will run into is sharing session variables between the two types of web pages. For that, you’ll need to either use a third party solution, SQL Server, or a trick like the one I used in this old article:
http://www.eggheadcafe.com/articles/20021207.asp
Additionally, you’ll need to debug your site under IIS as the web development server in Visual Studio does not support classic asp.