Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Migrating ASP Pages to ASP.NET 

ASP.NET offers significant improvements over ASP in the areas of performance, state management, scalability, configuration, deployment, security, output cache control, Web farm support, and XML Web service infrastructure.

If you have ASP development skills, the new ASP.NET programming model will seem very familiar to you. However, the ASP object model has undergone significant changes to make it more structured and object-oriented, so most existing ASP pages will have to be modified to some extent in order to run under ASP.NET. Major changes to Visual Basic as well mean that existing ASP pages written with Visual Basic Scripting Edition typically will not port directly to ASP.NET. In most cases, though, the necessary changes will involve only a few lines of code.

Most developers will probably choose to rewrite existing ASP applications to gain the performance, readability, and maintainability improvements of the new development environment. But because a Web application can contain both ASP and ASP.NET pages, the conversion does not necessarily have to be carried out on all pieces of the entire Web application at once.

ASP and ASP.NET can run side by side on an Internet Information Services (IIS) Web server without interference. Only files with an .aspx file name extension are processed by ASP.NET; files with an .asp file name extension will continue to be processed by the existing ASP engine. You should be aware, however, that session state and application state are not shared between ASP and ASP.NET pages.

The topics in this section provide information about structural differences between ASP and ASP.NET in terms of page layout and coding style.

In This Section

Code Blocks in ASP.NET

Provides an overview of how code blocks in ASP.NET are used.

Programming Languages in ASP.NET

Provides information on how to declare the programming language for a Web page.

ASP to ASP.NET Page Directive Changes

Provides information on page directives that can be used in ASP.NET.

Related Sections

Migrating to ASP.NET

Provides information about moving from ASP to ASP.NET.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft