Basic Differences Between ASP and ASP.NET

Before we build our first ASP.NET page, let's go over some of the basic differences between ASP and ASP.NET, with regard to the file system and organization, and some architectural considerations.

Files

The first thing to note is that the file extension for an ASP.NET page is different from that of a Classic ASP page. Instead of using .asp, you use .aspx as your file extension. Similarly, in an ASP application you used the global.asa file to manage some of the application events, and in an ASP.NET application you will use the global.asax file. In addition to the global.asax file, an ASP.NET application also has a web.config file, which is used to set many application-specific configuration settings. Unlike ...

Get ASP.NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.