8.02.2012

ASP.Net Difference FAQs-3


1.Difference between ASP.NET and PHP
S.No ASP.NET PHP
1 Technology Availability:


ASP.NET was launched by Microsoft in the year 2002.
Technology Availability:


PHP was launched by Rasmus Lerdorf in the year 1995.
2 Database:


ASP.Net uses MS-SQL for connecting database but MS-SQL can not be availed free from Microsoft.
Database:


For point of database connectivity PHP uses MySQL for the purpose of database connectivitybecasue its highly flexiblilty nature. Another important fact is that it will incurextra expenditure because MySQL can be accessed for free.
3
Cost:
We need to install Internet Information Server (IIS)on a Windows server platformif you want to run ASP.Net program. As Windows server platform is not a free product,the cost of production is bounded to be increased.
Cost:

Linux can be used for running PHP programs and Linux is free operating system. Therefore,the cost of developing a website in PHP language is remarkably low
4
Run Time :

It has been observed that ASP.Net code runs slower than PHP code. This is because ASP.Net utilizes server space while running
Run Time:
Whereas inbuilt memory space is used by PHP while running.
5
Coding Simplicity:

ASP.Net codes are somewhat complicated and a web developer needs to work hard to get the hang of it
Coding Simplicity:
PHP codes are very simple and a programmer does not have to make a diligent effort because it is comparatively easier than other types of programming languages.
6
Platform Connectivity Issue :

ASP.NET codes are usually run on Windows platforms but if you install ASP-Apache in the server than it can run on Linux platform as well.
Platform Connectivity Issue:
PHP has a unique advantage in this issue. Its codes can be linked with different types of platforms such as Windows, Linux and UNIX.
7
Cost of Tools :

There is no such free tools are available for ASP.Net.
Cost of Tools :

PHP codes are available for free in various forums and blogs as it is a open source software. Furthermore, some useful tools that can be used in PHP are also available for free
8
Language Support :

The syntax of ASP.Net is more or less similar to that of Visual basic syntax and this is all but simple.
Language Support :

The codes that are used in PHP are very much similar to that of C++ language and its syntax resembles the syntax used in C and C++. Therefore, if you have a fair knowledge in C++ or C, you will not face any difficulty while coding PHP language.
9
Security :

ASP. Net is reputed for creating sophisticated techniques to ensure the safety of confidential data.This is the reason why government organizations opt for ASP.Net.
Security :

Though PHP can offer enough measures for ensuring data security


2.Difference between ASP and ASP.NET


S.No ASP ASP.NET
1
ASP is a request response model.
ASP.NET is a programming model that is event driven.
2 ASP code is an interpreted language that is interpreted by the script engine. ASP.NET is a compiled CLR code that will be executed on the Server.
3 HTML and the coding logic are mixed in ASP. The code and design logic is separated in ASP.NET.
4 To develop and debug ASP application, there are very limited tools.
ASP.NET application can be developed and debugged using various tools including the leading Visual Studio .NET tool.
5 ASP has limited support to Object Oriented Programming principles.
ASP.NET is a complete Object Oriented Programming language.
6 Session management and application state management is very limited in ASP.
ASP.NET extends complete support for session management and application state management.
7 Error handling system is poor in ASP. ASP.NET offers complete error handling and exception handling services.
8 ASP does not offer any in-built support for the XML. In ASP.NET, data exchange is easily performed using XML support.
9 Data source support is not fully distributed in ASP. Data source support is fully distributed in ASP.NET.

3.Difference between ASP.NET and VB.NET


S.No ASP.NET VB.NET
1
ASP.NET is web technology that is used in building web applications and websites.
VB.NET is a language that is used in writing programs that are utilizing the ASP.NET framework.
2 ASP.NET is a server side technology that is language independent. Any .NET languages such as C#, VB.NET can be used to develop web applications through ASP.NET. VB.NET is a .NET programming language. VB.NET is used to create ASP.NET web applications or windows applications using Visual Studio Windows Forms Designer or mobile applications or console applications or applications for variety of other purposes.
3
ASP.NET is included within the .NET framework.

For example, ASP.NET contains the text boxes and the controls that can be dragged and dropped into a web form.
VB.NET is not part of .NET framework.

For example, VB.NET is the code that is written on various events of text boxes and controls to make them function as per the requirement.
4 ASP.NET contains server controls.
VB.NET does not include server controls.
5 ASP.NET can support all .NET languages.
VB.NET can support only scripting languages.

4.Difference between Java and .NET


S.No Java .NET
1
JAVA is developed by ‘Sun Microsystem
.NET is developed by ‘Microsoft’.
2 JAVA is a programming language .NET is a framework that supports many programming languages like C#,ASP,VB.
3 In JAVA, JVM(Java Virtual Machine) execute the code and convert source code to byte code. In .NET CLR(common language Runtime) execute the code with two phase compilation.
4 JAVA can run on any operating system
.NET can run only on windows/IIS.
5 But in JAVA it depends upon the programmer to destroy the garbage memory.
Although .NET support both explicit and implicit garbage collection,especially,in .NET the garbage collector destroy the garbage value in an efficient manner as compared to JAVA.
6 JDBC is used for database connection in JAVA
ADO .NET is use for database connection in .NET.
7 For java many third party IDEs are available.
.net has a standard development IDE i.e. Microsoft Visual Studio
8 But web application in java run on any operating system.
Both windows and web applications can developed by .net but it will be more better to go for windows application with .NET . you can also go for web application with .NET but it will only hosted on windows server.
9
Exception Handling in Java is harder than .NET
Exception Handling in .NET is simpler than JAVA.
10 JAVA uses bootclasspath for completely trusted codes.
.NET uses GAC(Global Assembly Cache) and keep trusted assemblies.
11 Java is less secure than .NET while providing security
JAVA and .NET both have similar security goals. But .NET is more secure because of its simple and clean designs.
12 Java JDBC which requires multiple round trips to data base. Hence, performance is lesser than .NET
.Net due to disconnected data access through ADO.Net has high level of performance against Java JDBC
13 Development is comparatively slower.
Due to Microsoft Visual Studio, development is faster.
14 Java applications development can be done on even less configuration computer system.
Microsoft Visual Studio installation requires higher configuration system.
15 Java can only communicate with java programs


.Net is the platform itself for a multitude of languages. One can use C, C++ and VB to program upon .net. These programs interact with each other using common methods. these common methods are defined by .Net, and are used by the programs to communicate with each other without worry about that language the program was written in. the machine running the program/s will need the .Net platform to be installed.

8 comments:

  1. Hi there, I found your site via Google at the same time as looking for a similar subject, your site came up, it appears great. I have bookmarked it in my google bookmarks.PHP Training in Jalandhar

    ReplyDelete
  2. Great post. Very useful information shared. I really thankful for this post. Keep posting. dot net training institute in pune

    ReplyDelete
  3. This is my first visit to your blog, your post made productive reading, thank you. dot net training in chennai

    ReplyDelete
  4. Given so much information in it. its very useful .perfect explanation about Dot net framework.Thanks for your valuable information. Dot Net Training in chennai | Dot Net Training in velachery

    ReplyDelete
  5. It is really a great work and the way in which u r sharing the knowledge is excellent.Thanks for helping me to understand basic concepts. As a beginner in Dot Net programming your post help me a lot.Thanks for your informative article.. dot net training in chennai | best dot net training in chennai

    ReplyDelete
  6. Informative article, just what I was looking for.seo services chennai

    ReplyDelete