Remember Me
forgot your password?

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 of time. There are two major forms of ASP:-


  • Classic ASP and



  • ASP.net


In ASP.net 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 ASP.net offers object oriented approach for the software development where as ASP does not support classes. Only VBScript and Javascript were available for scripting in ASP where as, in ASP.net there are no such restrictions.

The .net compliant languages can be used with ASP.net like C# and VB.net, where both of them are server-sided languages where as in ASP only VBScript and Javascript are available as options to be used. Then the ASP pages are interpreted and the ASP.net Code is compiled .Traditional ASP can run only on- Microsoft platforms but ASP.net 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 ASP.net process is separate from inetinfo.exe and is not related to the IIS process isolation settings. The debugging process is easier in ASP.net.

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 when ever the output is to be shown. This limitation of code is overcome in ASP.net by the use of server controls. The HTML and Web Server Controls created on the server require a 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 ASP.net. It saves a lot of time and developers do not have to write their own functions as it is with ASP. Built-in validation increases the application reliability. Through this Double validation on client and server side can be performed.

The use of ASP.net 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 ASP.net 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 ASP.net has 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.

 

 

 

 

Tanuja Shah

Technical Content writer with more than two years of experience in writing. At present working for Icreon Communications supporting the Search Engine Optimisation department.

Rate this Article: 2 / 5 stars - 1 vote(s)
Print Email Re-Publish

Add new Comment



Captcha
0
1. Isaac (07:01, 23.01.2009)
Keep in mind though that you can create separate tiers using Com components.

  • Latest Programming Articles
  • More from Tanuja Shah

Farmville Secrets - Farmville Guides, Hints, Cheats

By: Sarah Brown | 29/12/2009
By now I’m sure you’ve heard of FarmVille, have started your own farm, spent a few moments a day trying to figure out how to load up on the right materials and resources to do better. How’s all that going for you?Do you need or even looking for a complete Farmville Guide that will give you cheats, tips, strategy or even the most hidden secrets that you can actually use to dominate Farmville? Farmville Secrets was created to give you the original best selling guide for Farmville!

Easy way to set up global API hooks

By: Apriorit Inc. | 28/12/2009
This article describes an easy way to set up system-wide global API hooks. It uses AppInit_DLLs registry key for DLL injection and Mhook library for API hooking. To illustrate this technique we will show how to easily hide calc.exe from the list of running processes.

Ruby Development Philosophy Today

By: Inessa Bokhan | 28/12/2009
After taking a decision to launch a Web 2.0 project, independent software vendors (ISVs) can get overwhelmed with hundreds of thoughts, concerning the future project and its performance. However, the idea of choosing between various Web technologies available at the moment may bring in some confusion. What would be more beneficial, Adobe Flex, Silverlight, JavaFX, Ruby development, or whatever?

Usages of camcorder bags among users

By: John Kendrick | 28/12/2009
Consumers should know the importance of camcorder bags among electronic devices in many coun tries. Consumers can use these camcorder bags for outstation journeys throughout the world. These camcorder bags provides safety while travelling in any part of the world.

Getting the Best in Ecommerce Website Development

By: Arun Kumar | 28/12/2009
To run an ecommerce site, one needs to get the site developed at the professional hands of an expert ecommerce web site developer. The developer would try to understand the exact business requirement of the client by discussing in detail about his/her business goal and target audience.

iPhone Applications Development: When the Best of Additional Applications Reverberate You

By: Arun Kumar | 28/12/2009
It all started with the launch of the revolutionary iPhone from the Apple stable. iPhone mobile application development is now one of the most advanced software program development areas where much of research has been poured onto.

Magento Development

By: Digisha Modi | 26/12/2009
Magento eCommerce Development is an incredibly advanced suite which enables you to have a shopping cart up and running in a very short time. Magento includes advanced reporting and analysis features which will increase your awareness of sales trends and other customer activity to enable you to tune your business for maximum efficiency. Its unique characteristics are unlimited flexibility, completely scalable architecture, professional and community support and smooth integration with 3rd party a

PSD to XHTML Conversion Services

By: Digisha Modi | 26/12/2009
To make a website easily visible and popular, making it browser compatible is very important. For this PSD to XHTML conversion is one of the most vital elements of Web designing. Its growing importance in the designing cannot be completely annulled. With the increasing competition among the web marketers, the importance of a good design with better usability has become the necessity of the present time.

Web Hosting Vs. Windows Hosting

By: Tanuja Shah | 12/09/2008 | Operating Systems
Web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible through the World Wide Web.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.08, 1, w3)