If you are editing an existing Web Part, click Show Advanced Settings to see this check box.
In addition, you can convert the ASP or HTML code to a Web Part. For more information and sample code, see the Sample Codes section in this chapter.
To avoid poor and interrupted server performance do not use a stand-alone ASP page as a Web Part.
The threads available for ASPs are computed by adding one to the number of processors. For example, two threads are available on a single processor computer, and three threads are available on a dual processor computer. If you do use a stand-alone ASP page as a Web Part, run it in isolated mode. In this case, there is no increased risk of hangs due to a deadlock.
If you use an ASP page as a Web Part and it is not running in isolated mode, it is recommended that you use an ASP page that generates an HTML fragment and not a full page.
A fragment includes only the code that is required to draw the Web Part. It does not include extraneous tags (such as <HTML> </HTML> or <BODY> </BODY>) that may be inserted by your editing application.
If you use an ASP page as a Web Part and it is running in isolated mode, it is recommended that the ASP page generate a full HTML page.