Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Basics of .NET Framework & Design Goals

Lesson 3 of 27 in the free C# Programming notes on Siksha Sarovar, written by Rohit Jangra.

What is the .NET Framework?

The .NET Framework is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large class library named Framework Class Library (FCL) and provides language interoperability across several programming languages.

At its core, it acts as a "Virtual Machine" layer between your application and the operating system, ensuring that your code runs safely and efficiently.

Key Design Goals

GoalDescriptionBenefit
InteroperabilityAbility for .NET code to interact with verified legacy COM code and DLLs.Allows gradual migration of old systems.
Language IndependenceSupports C#, VB.NET, F#, and others sharing a common type system.Teams can use the language they prefer but work on the same project.
Type SafetyStrictly enforces type rules (e.g., cannot treat an integer as a pointer).Prevents buffer overflows and random crashes.
PortabilityThe architecture is designed to be platform-agnostic (realized fully in .NET Core).Code written once can theoretically run on any supported architecture.
SecurityUses Code Access Security (CAS) to restrict what code can do based on its origin (e.g., web vs local).Protects the user's system from malicious scripts.
Simplified DeploymentRemoves the need for complex registry entries."XCOPY Deployment" - just copy files to run the app.

The Two Pillars

  1. CLR (Common Language Runtime): The engine that executes the code.
  2. FCL (.NET Framework Class Library): The massive library of pre-written code (Classes) available to use.