Understanding the ASP/ASP.NET relationship (was: Sorry, meant ASP.NET)

Understanding the ASP/ASP.NET relationship (was: Sorry, meant ASP.NET)

Post by Shawn Sout » Fri, 20 Aug 2004 01:59:55



[...snip...]


[...snip...]

Files with the extension .asp are (by default) interpreted by asp.dll,
not the .NET framework. The file may be in your project, but it is not
being handled by the ASP.NET subsystem of the .NET framework.

I suppose you *could* change the default settings for IIS and have .asp
files be handled by aspnet_isapi.dll, but then all your objects would be
references to .NET objects (Response, etc.) Then you wouldn't be
running classic ASP - you'd be running ASP.NET in a filename with a .asp
extension.

This is part of the confusion many people have. ASP and ASP.NET are not
languages. They are not the files themselves. They are server-side
interpreter framework subsystems. You can use one *or* the other, you
cannot do one "in" the other.

- Shawn