What is the best way to load ASP page in my ASPX page?

I'm working with a partner who gives me tools in Classic ASP. My website is in ASP.NET 4.0, what is the best way to include its tools in my page?

I have a restriction, I can't enable Classic ASP on my server.

Is it possible to parse it?

Thank you

Answers


You can compile your classic asp code to .net using this compiler:

http://aspclassiccompiler.codeplex.com/

and then run that.

Or you can paste your file.asp contents into file.aspx and then modify the code until it compiles. Sometimes you can update the objects to the corresponding pure .net class or object, sometimes you have to use .NET's COM interop facilities. It is easier than it looks to do a single page, it is much, much harder than it looks to do an entire application with 100s of pages and a full set of classic asp patterns.


Need Your Help

Delphi - List Index Out Of Bounds(4)

delphi runtime-error delphi-7

I know this question has been brought up a million times, however, I cant understand why this code is throwing the error, I have tracked down the culprit FOR loop causing the error, however, I don'...

How to configure R-3.1.2 with --enable-R-shlib

r rstudio

I had installed R-3.1.2 on Ubuntu using the commands

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.