Programming codex

Classic ASP Vs ASP.Net

Classic ASP Vs ASP.Net


ASP (Active Server Pages) was for the first time was released in December 1996. Since then it has been through major changes and has grown and tailored to the new methods of developing web sites and applications for the internet over the period. There are two major forms of ASP:

o Classic ASP and


In major weight is on n-tier architecture in the application development and there is separation of data presentation, business logic, and data access layers. In classic ASP these layers are mixed leading to the development of ineffective solutions with huge architecture that are difficult to sustain. The offers an object-oriented approach for software development whereas ASP does not support classes. Only VBScript and Javascript were available for scripting in ASP whereas, in there are no such restrictions.

The .net compliant languages can be used with like C# and, where both of them are server-sided languages whereas in ASP only VBScript and Javascript are available as options to be used. Then the ASP pages are interpreted and the Code is compiled. Traditional ASP can run only on- Microsoft platforms but can be run on non- Microsoft platforms also. ASP runs under the inetinfo.exe IIS (Internet Information Server) process space and can lead to application crashes due to the start and stop process used by IIS. While process is separate from inetinfo.exe and is not related to the IIS process isolation settings. The debugging process is easier in

In classic ASP the executable code cannot be separated from the HTML making the page difficult to read and maintain. The code block has to be placed whenever the output is to be shown. This limitation of code is overcome in by the use of server controls. The HTML and Web Server Controls created on the server require an attribute to work. This attribute indicates that the page will be processed on the server. At the same time, it implies that the enclosed controls can be accessed by server scripts. Validation Server Controls are a big advantage in It saves a lot of time and developers do not have to write their functions as it is with ASP. Built-in validation increases application reliability. Through this Double validation on client and server-side can be performed.

The use of pages gives a performance and security edge. It supports the usage of any .Net language. There is no restriction over the use of JavaScript or VB Script on your Web pages. Finally, it can be said that has opened up a whole new programming model with the blend and combination of web forms, server-side controls, data binding along with web services. ASP and have just scratched the surface of the Microsoft Active Server Page technology, which will continue to improve in the coming years with the latest additions on the technology front.


Source by Tanuja Shah

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on whatsapp

Leave a Reply

Your email address will not be published. Required fields are marked *



Recent Posts