Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET vs ASP.NET vs CLR vs ASP

Although I know the terms I used to forget the differences sometimes...So just to maintain a place for reference...Thanks all for your answers.

like image 471
Vishal Avatar asked Jun 23 '10 16:06

Vishal


People also ask

Is .NET and ASP.NET same?

The main difference between . NET and ASP.NET is that . NET is a (software) development platform that is used to develop, run and execute the applications while ASP.NET is a web framework that is used to build dynamic web applications.

What is ASP.NET CLR?

NET CLR is a runtime environment that manages and executes the code written in any . NET programming language. CLR is the virtual machine component of the . NET framework. That language's compiler compiles the source code of applications developed using .

What is difference between ASP.NET and .NET framework?

In a nutshell, the . NET Framework is a software framework developed by Microsoft to create, run and deploy desktop applications and server based applications, whereas ASP.NET is the extension of the ASP which is part of the . NET Framework that simplifies the structure and creation of web applications.

Is ASP.NET version Same with .NET version?

but is asp.net version and . net version are same??? Yes, ASP.NET is part of the . NET Framework, so their version is always in sync.


2 Answers

  • ASP, Active Server Pages (now referred to as ASP Classic) is a server-side scripting environment that predates .Net and has nothing to do with it
    ASP pages are usually written in VBScript, but can be written in any language supported by the Windows Scripting Host - JScript and VBScript are supported natively, with third-party libraries offering support for PerlScript and other dynamic languages.

  • .Net is a framework for managed code and assemblies
    .Net code can be written in any language that has an CIL compiler.

  • CLR, Common Language Runtime, is the core runtime used by the .Net framework
    The CLR transforms CIL code (formerly MSIL) into machine code (this is done by the JITter or by ngen) and executes it.

  • ASP.Net is a replacement for ASP built on .Net
    ASP.Net pages can be written in any .Net language, but are usually written in C#.

Other terms that you didn't ask about:

  • CIL, Common Intermediate Language, is an intermediate language that all .Net code is compiled to.
    The CLR executes CIL code.
  • CLI, Common Language Infrastructure, is the open specification for the runtime and behavior of the .Net Framework
  • Mono is an open-source implementation of the CLI that can run .Net programs
  • ASP.Net MVC is an MVC framework built on ASP.Net
like image 119
SLaks Avatar answered Sep 19 '22 03:09

SLaks


The .NET Framework is a software framework from Microsoft which contains a large amount of base libraries (classes, functionality for developing software). The CLR - Common Language Runtime - what runs your code is also part of the .Net framework. Read more at Wikipedia

ASP.NET is a web application framework from Microsoft, which is part of the .Net framework.

CLR is the Common Language Runtime is the virtual machine that executes and runs code written for it. Read more about it at Wikipedia

ASP is a web scripting language from Microsoft that predates the .NET framework. Comparable to (older versions of) the scripting language PHP.

...in short.

like image 33
Arve Systad Avatar answered Sep 20 '22 03:09

Arve Systad