Rendering classic ASP into ASP.NET applications

Y

youngcraig

Ok, so I have a predicament where I need to build a page harness using
ASP.NET 2.0 that will render classic asp pages.

What I am looking for is any information on being able to
programatically render out a classic ASP page to the browser correctly
from within a aspx page. So basically the user visits 'default.aspx'
and the page spits out correctly rendered content that is actually
written in classic ASP. I know the above sounds a little dumb, but my
reason is that I am porting an old classic ASP application that is
extremely large to .NET and the new system needs to interact with the
old ASP seemlessly.

I have tried using Page.WriteFile but that doesn't work too well as it
just spit the code unparsed.

Of course I could be approaching the problem from a wrong angle. Any
help on this would be appriciated and hopefully a learning experiance.

Thanks!
-Craig
 
R

Robbe Morris [C# MVP]

Wouldn't it be smarter to just come up with a session sharing
mechanism (tons of examples out there) and use both
the .asp pages and the .aspx pages until you get them
converted over one by one?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,795
Messages
2,569,644
Members
45,358
Latest member
TreyTritt8

Latest Threads

Top