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.
PHP was launched by Rasmus Lerdorf in the year 1995.
ASP.Net uses MS-SQL for connecting database but MS-SQL can not be availed free from Microsoft.
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.
3Cost:Cost: 4Run Time :Run Time: 5Coding Simplicity:Coding Simplicity: 6Platform Connectivity Issue :Platform Connectivity Issue: 7Cost of Tools :Cost of Tools : 8Language Support :Language Support : 9Security :Security :
2.Difference between ASP and ASP.NET
S.No ASP ASP.NET 1ASP 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.
S.No ASP.NET VB.NET 1ASP.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. 3ASP.NET is included within the .NET framework.VB.NET is not part of .NET framework. 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.
S.No Java .NET 1JAVA 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 JAVAADO .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. 9Exception Handling in Java is harder than .NETException 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 securityJAVA 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.