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

OpenCV undefined reference to my own method in library

c++ c oop opencv object

I wrote a piece of software in C++ OpenCV, that's so structured:

Tabbar is not showing OR screen does not reconize touches

objective-c xcode ios5

i'm using this code for a tabbar, but the tabbar is not showing

the dimensional reduction issues in self-organizing map (SOM)

data-mining neural-network self-organizing-maps

Self organizing map is claimed to be able to visualize/cluster the high-dimensional data on a smaller dimensional space. I have some difficulties in understanding this statement.

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.