Can one mix ASP with ASP.NET code?

Posted on 2008-09-30
Last Modified: 2009-02-25

Will it work if a person includes classic ASP code in a ASP.NET file?


Question by:skbohler
  • 2

Accepted Solution

JMT116 earned 50 total points
ID: 22605880
If you need to run asp code you can use an iframe to run a regular .asp page inside of the .aspx page.  This will allow you to keep your existing site look and feel but include the old code.

Just add an iframe in your content area like the example below.  You can also set width and height of an iframe.  For more information about iframes:

<iframe src="classic.asp"></iframe>

Author Comment

ID: 22605936
I was hoping they could just intermingle.

But, thanks for the idea.


Expert Comment

ID: 22625959
They will not work together.  You will need to upgrade your code to run in

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I have developed many web applications with asp & and to add and use a dropdownlist was always a very simple task, but with the new, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now