What is ASP and ASP.Net?
Classic ASP pages have the extension .asp instead of .htm, when a page with the extension .asp is requested by a browser the web server knows to interpret any ASP contained within the web page before sending the HTML produced to the browser. This way all the ASP is run on the web server and no ASP will ever be passed to the web browser.
- ASP has Mixed HTML and coding logic.
- Limited development and debugging tools available.
- Limited OOPS support.
- Limited session and application state management.
- Poor Error handling system.
- No in-built support for XML.
- No fully distributed data source support.
- ASP does not have the concept of inheritance.
ASP.Net – ASP.NET has better language support, a large set of new controls, XML-based components, and better user authentication.
ASP.NET is a Web application framework developed and marketed by Microsoft to allow programmers to build dynamic Web sites, Web application and Web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft’s Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language.
- ASP.Net is supported by compiler and has compiled language support.
- Separate code and design logic possible.
- Variety of compilers and tools available including the Visual studio.Net.
- Completely Object Oriented.
- Complete session and application state management.
- Full proof error handling possible.
- Full XML Support for easy data exchange.
- Fully distributed data source support.
- ASP.Net web forms inherit the class written in code behind.
- ASP.NET supports C# (C sharp), VB, and C++.
Features of ASP.Net
- Because computer systems commonly require interaction between new and older applications, the .NET Framework provides means to access functionality that is implemented in programs that execute outside the .NET environment. Access to COM components is provided in the System Run time. Inter op Services and System.Enterprise Services namespaces of the framework; access to other functionality is provided using the Platform Invocation Services feature.
- Common Language Runtime Engine
- The Common Language Runtime (CLR) is the execution engine of the .NET Framework. All .NET programs execute under the supervision of the CLR, guaranteeing certain properties and behaviors in the areas of memory management, security, and exception handling.
- Language Independence
- The .NET Framework introduces a Common Type System, or CTS. The CTS specification defines all possible data types and programming constructs supported by the CLR and how they may or may not interact with each other conforming to the Common Language Infrastructure (CLI) specification. Because of this feature, the .NET Framework supports the exchange of types and object instances between libraries and applications written using any conforming .NET language.
- Base Class Library
- The Base Class Library (BCL), part of the Framework Class Library (FCL), is a library of functionality available to all languages using the .NET Framework. The BCL provides classes which encapsulate a number of common functions, including file reading and writing, graphic rendering, database interaction, XML document manipulation and so on.
- Simplified Deployment
- The .NET Framework includes design features and tools that help manage the installation of computer software to ensure that it does not interfere with previously installed software, and that it conforms to security requirements.
- The design is meant to address some of the vulnerabilities, such as buffer overflows, that have been exploited by malicious software. Additionally, .NET provides a common security model for all applications.