Render ASP via ASP.net page.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,

It is possible to render an ASP page in a ASP.net page? Options such as
re-writing the ASP page isn't an option at the moment so any pointers on the
above would be great.

Thanks,

Jon
 
Or you could have ASP and ASP.NET pages on the same site (especially if you
don't use extensively session variables as they are not shared).

If you meant show the ASP page as part of an ASPX page you could use an
iframe.
 
If you can't rewrite the asp to .NET then leave it be. I don't see any
reason or benefit in running ASP code on a .aspx page.

You can't run ASP and ASP.NET under the same site. You can create a new
virtual directory to run you .NET pages and point your code to there but
again, if you don't have time to convert it over to .NET and it has to stay
as ASP then just leave it as ASP.
 
More precisely ASP and ASP.NET pages won't share sessions for example as
they are handled by a distinct "engine" but you can have both ASP and
ASP.NET pages at the same location (including in the same physical
directory).
 
Back
Top