.NET vs ASP.NET vs CLR vs ASP

前端 未结 5 1636
挽巷
挽巷 2021-01-29 23:54

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.

相关标签:
5条回答
  • 2021-01-30 00:35
    • 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
    0 讨论(0)
  • 2021-01-30 00:40

    Extra's

    • Mono Open source version of .NET on mac and linux
    • XSP Mono's version of ASP
    • CLI Common Language Infrastructure
    0 讨论(0)
  • 2021-01-30 00:41

    .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

    0 讨论(0)
  • 2021-01-30 00:44

    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.

    0 讨论(0)
  • 2021-01-30 00:44

    .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.

    0 讨论(0)
提交回复
热议问题