.NET vs ASP.NET vs CLR vs ASP

.Netasp.netAsp ClassicClr

.Net Problem Overview


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.

.Net Solutions


Solution 1 - .Net

  • 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

Solution 2 - .Net

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 http://en.wikipedia.org/wiki/.NET_Framework">Wikipedia</a>

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 http://en.wikipedia.org/wiki/Common_Language_Runtime">Wikipedia</a>

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

...in short.

Solution 3 - .Net

.NET - A software framework for Windows machines that contains a multitude of libraries .NET Framework

ASP.NET - A web application framework designed to let you use .NET supported languages to create web applications ASP.NET

CLR -Common Language Runtime - a core set of libraries and managed code that can be called from the .NET framework across all the .NET supported Languages CLR

ASP - Active Server Pages - A server side scripting environment that was succeeded by ASP.NET. It allows you to write web applications in a manner similar to PHP Active Server Pages

Solution 4 - .Net

.NET: The framework of libraries and umbrella term for technology used via C# and VB.NET developers (as well as other languages). This is a "managed" runtime, in that it compiles to a portable byte code.

ASP.NET: A framework built for running web applications using .NET.

CLR: THe runtime on which all of the above runs. This is the "runtime" for .NET code.

(Classic) ASP: Microsoft's first server-side scripting technology. Mostly replaced by ASP.NET at this point, since the latter has huge advantages.

Solution 5 - .Net

Extra's

  • Mono Open source version of .NET on mac and linux
  • XSP Mono's version of ASP
  • CLI Common Language Infrastructure

Solution 6 - .Net

.NET vs ASP.NET:

.NET is a developer platform made up of tools, programming languages, and libraries for developing (building and running) many different types of applications such as web app, windows form app, console app, WPF apps.

ASP.NET frameworks, extend .NET for building web apps.

Here are some things included in the .NET platform:

The C#, F#, and Visual Basic programming languages.
Base libraries for working with strings, dates, files/IO, and more.
Editors and tools for Windows, Linux, macOS, and Docker.

These are some things that ASP.NET adds to the .NET platform:

Base framework for processing web requests in C# or F#
Web-page templating syntax, known as Razor, for building dynamic web pages using C# Libraries for common web patterns, such as Model View Controller (MVC)

https://dotnet.microsoft.com/learn/aspnet/what-is-aspnet#:~:text=ASP.NET%20is%20an%20open,Windows%2C%20macOS%2C%20and%20Docker.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionVishalView Question on Stackoverflow
Solution 1 - .NetSLaksView Answer on Stackoverflow
Solution 2 - .NetArve SystadView Answer on Stackoverflow
Solution 3 - .NetbechbdView Answer on Stackoverflow
Solution 4 - .NetReed CopseyView Answer on Stackoverflow
Solution 5 - .Netuser34537View Answer on Stackoverflow
Solution 6 - .NetpedramView Answer on Stackoverflow