Logo
  • Used for web, desktop, mobile apps
Components:
  1. Common Language Runtime (CLR) - Runtime VM
  2. Framework Class Library (FCL) - Libraries
  3. Core Languages (ASP.NET, ADO.NET) - Frameworks

Common Language Runtime (CLR)

Pasted image 20241022231003.png

  • Virtual machine component of the .NET framework
  1. Language Compiler -> a. MSIL - (Microsoft Intermediate Language Code )
    b. + Meta data
  2. JIT : MSIL -> Native Code (.exe, .deb)

Features:

  • Automatic GB
  • Metadata: Binary info about program
  • Assemblies: Physical code grouping (meta, MSIL, assets, etc)

Common Type System (CTS)

  • Guidelines for declaring, using, and managing [data types at runtime]
  • Language-independent code (C#, VB, etc)
  • Types:
    • Value: Data in memory allocated on the stack
    • Reference: Pointer to Memory on Heap

Common Language Specification (CLS)

  • [rules for NET languages]
  • Interoperability among applications developed using NET languages.

NET CLI

  • Commands when -> console app was run from a directory named [my_app]:
	dotnet new console                        //console

	dotnet build                              //build def
	dotnet build --output ./build_output      //build with path
	dotnet ./build_output/my_app.dll          //run

NET Solutions

  1. ASP: Web App & Services
  2. MAUI: Multi Platform App UI
  3. NET IOT: Embedded systems (GPIO, !2C)
  4. WinForms: r/w into file system
  5. ADO: DB CRUDs

© 2025 All rights reservedBuilt with DataHub Cloud

Built with LogoDataHub Cloud