Difference between .NET and ASP.NET
Key Difference: .NET is a software framework/infrastructure developed by Microsoft used to develop, run and deploy next generation of applications and XML Web services. ASP.NET is a web application part of .NET framework that is used to build dynamic web applications and web services in any .NET language.
include("ad4th.php"); ?>.NET is a software framework/infrastructure developed by Microsoft used to develop, run, and deploy the applications like console applications, window services, web services and web applications. ASP.NET is a web application of .NET framework that is used to build dynamic web pages. Therefore the difference lies in the ASP.NET as it is specially catering to web applications whereas .NET can support both console and web applications. Common Language Runtime is an important component of .NET, which is used to provide a language-neutral platform and also performs tasks like memory management, exception handling, debugging, code safety and compilation. .NET framework’s Class Library contains numerous reusable classes, interfaces etc; collectively known as types. Common Type System of the framework defines how types are declared, used and managed during runtime. It also supports cross language integration. All .NET source code is compiled into an intermediate language also known as IL and then IL gets converted to machine code. .NET framework provides advantages like-
1. It provides a consistent object oriented programming infrastructure.
2. Software Deployment is minimized and also versioning problems.
3. Consistency in developing window and web based applications.
4. Promotes safe execution of code
include("ad3rd.php"); ?>.NET framework has moved application development to server centric rather than client centric. Due to CLR many languages work as .NET languages but on the condition provided that they must follow rules and standards set by CLR.
ASP.NET is an evolution from ASP. ASP.NET uses .NET languages like C#, C++, Jscript.NET, VB.NET etc to create HTML pages. .NET supports both client side and server side development and ASP.NET provides extensible server side control architecture and server side data binding model. ASP.NET can also be called as collection of .NET classes that process an HTTP request and then generate HTTP response. ASP.NET is built on .NET framework thus any .NET programming language can be used. When an instance of the page is created, an event called as the PreInit occurs first, it invokes method Page_PreInit, used to set the theme of the page. The Init event occurs next, invoking method Page_Init, it initializes objects of the page. Then, the Load event occurs, and the Page_Load event handler executes. The Init event is raised only one time that is first time the page was requested. The Load event gets raised whenever a request is made. Response is given and then, an Unload event occurs, which calls Page_Unload, which typically free resources used by the page.
Image Courtesy: toxifier.blogspot.com, host-shopper.com
Comments
sahid abmar
Mon, 03/26/2018 - 12:16
Rajesh Shirsagar
Tue, 06/27/2017 - 16:50
your mother's ex
Sat, 12/02/2017 - 22:54
Tapan Adhikary
Tue, 05/16/2017 - 17:15
Immanuel
Sat, 02/11/2017 - 15:20
Raj
Sun, 12/11/2016 - 17:01
Tahir Babu
Mon, 06/06/2016 - 07:39
sreejith
Mon, 05/16/2016 - 12:58
Add new comment