Differences between ASP and ASP.NET
New in ASP .NET
- It is not fully ASP compatible
- It has better language support
- It has its ownProgrammable controls
- It has event-driven programming
- It has XML-based components
- It has user authentication, with accounts and roles
- It has higher scalability
- It has capability to increased performance - Compiled code
- It has easier configuration and deployment
ASP .NET supports full of Visual Basic, not VBScript.
ASP .NET supports C# (C sharp) and C++.
ASP .NET uses new ADO .NET.
ASP .NET supports JScript as before.
ASP .NET contains a large set of HTML controls and almost all HTML elements on a page can be defined as ASP .NET control objects that can be controlled by scripts.
ASP .NET also contains a new set of object oriented input controls, like validation controls and programmable list boxes.
A new data grid control supports sorting, data paging, and everything that you expect from a dataset control.
Event Aware ControlsAll ASP .NET objects on a Web page that can expose events that can be processed by ASP .NET code.
Load, Click and Change events handled by code makes coding much better and much simpler organized.
ASP .NET ComponentsASP .NET components are heavily based on XML and like the new AD Rotator, that uses XML to store advertisement information and configuration.
User AuthenticationASP .NET supports forms-based user authentication, including automatic redirecting and cookie management of unauthorized logins.
User Accounts and RolesASP .NET allows for user accounts and roles, to give each user (with a given role) access to different executables and server code.
High ScalabilityASP .NET also provides greater scalability.
To scale an application over several servers,server to server communication has been greatly enhanced.One example of this is the ability to run XSL transformations ,XML parsers,and even resource hungry session objects on other servers.
Compiled CodeThe first request for an ASP .NET page on the server will compile the ASP .NET code and keep a cached copy in memory and the result of this is greatly increased performance.
Easy ConfigurationConfiguration of ASP .NET is done with plain text files and configuration files can be uploaded or changed while the application is running. No need to restart the server and no more metabase or registry puzzle.
Easy DeploymentNo more server restart to replace or deploy compiled code. ASP .NET simply redirects all new requests to the new code.
CompatibilityASP .NET is not fully compatible with earlier versions of ASP, so most of the old ASP code will need some changes to run under ASP .NET and to overcome this problem, ASP .NET uses a new file extension ".aspx". This will make ASP .NET applications able to run side by side with standard ASP applications on the same server.
