Glossary term

Active Server Pages (ASP)

AMore terms under A

Active Server Pages (ASP) was Microsoft’s technology for building dynamic web pages: pages generated using code and data when someone requested them. It ran on the computer hosting the website, then sent the finished page to the visitor’s browser.

ASP was Microsoft’s offering in the same dynamic-web world as PHP and ColdFusion. Released with IIS 3.0, Microsoft’s website-delivery software for Windows, in 1996, it gave developers a way to build searchable catalogs, member pages and forms that did something with the information people entered.

The attraction was that a website could do more than display a collection of fixed pages. A catalog could draw its listings from a database, while a member page could show information for the person signed in. The developer wrote the rules for building the page rather than saving a separate finished version for every situation.

ASP let developers mix HTML, the markup that structures a page, with code commonly written in VBScript. The <% and %> markers separated the instructions from the surrounding page. This small example inserts today’s date:

Classic ASP · VBScript inside a page
<h1>Today is <%= Date() %></h1>

The hosting computer fills in the date; the browser receives the finished heading. The same approach could build something much more involved from stored information or a submitted form.

Then came ASP.NET

ASP.NET arrived with Microsoft’s .NET platform in 2002. Microsoft wanted a shared foundation for building web and Windows applications, with reusable tools and better support for larger programs. That direction changed what an ASP developer was being asked to learn.

VBScript was not supported in ASP.NET. Developers could use languages such as C# or VB.NET, a different member of the Visual Basic family. The code was compiled—translated into a form the .NET system could run—and the way applications were organized changed too.

Its Web Forms approach encouraged treating a page more like an application screen: buttons and other controls had code attached to their actions. Someone who had learned to add VBScript to HTML could now face both a new language and a new way of building the site.

Existing ASP sites could still run alongside ASP.NET sites, so there was no overnight requirement to rebuild everything. But the next platform Microsoft was promoting required a different commitment. The older system became known as classic ASP; an .asp page and an .aspx page belonged to different generations of Microsoft web development.

Sources

← Browse Glossary: A