My past post was about "How to use memcache with PHP". As of late I got a request to write about "Key Differences Between Classic ASP And ASP.NET". In this post we will discuss on Difference between ASP vs ASP.NET. It is going to be very useful for your technical interview and for beginners in .NET. Here are the list of key differences between ASP and ASP.NET as below.
ASP:
i. ASP has limited OOP support. It is not supporting XML by default.
ii. Development and debugging tools unavailability. There are limited debugging tools available for ASP. Meaning that it is difficult to debug the code.
iii. In ASP we can use Visual Basic and Java for programming language.
iv. Error handling is very poor.
v. Classic ASP don't have high level programming structure. ASP pages are mix of HTML and Server side script.
vi. ASP page should have below code on the top page -
<%LANGUAGE="VBSCRIPT" CODEPAGE="960"%>
vii. It don't have built in validation control. Page validation is difficult for developers.
viii.In classic ASP it is required to restart the server in order to check latest updation on the page.
ASP.NET
i. ASP.NET is a full featured object oriented programming language.
ii. It has a full support of XML. It helps easy data exchange.
iii.There are many tools and compiler available. Microsoft Visual Studio makes your debugging job very easier.
iv. We can either use C# or VB.NET as a server side programming language.
v. ASP.NET provides three tire application architecture helps to keep your business logic and views separate. It helps on enhancing existing application without any difficulties.
vi. Error handling is very good.
vii.You should make a language directive on the page as below:
<%@Page Language="VB" CodePage="960"%>
<%@QutputCache Duration="60" VaryByParam="none" %>
viii. It is supporting state management.
ix. It has built in validation controls such as custom validator, range validator, regular expression, compare and require field validation control etc. It makes your job easier.
These are the key differences between classic ASP and ASP.NET. Hope this post will be helpful to you. Please don't forget to leave your comment below and share with friends. :)
No comments:
Post a Comment