Shafi Institute Reference Edition

C# .NET & Progressive Web Apps Reference Manual

Welcome to the interactive reference textbook portal for C# .NET and Progressive Web Apps! Designed as an authoritative reference guide, this manual covers the .NET unified ecosystem, CLR compilation engines, OOP design patterns, ASP.NET Core Kestrel web servers, Progressive Web App manifests, Service Worker caching strategies, and responsive UI layout engines.

πŸ“˜ Textbook Reference Structure

This manual is structured into 7 core modules corresponding to 35 university lectures. Each chapter contains formal system definitions, architecture specifications, theoretical comparative matrices, layman analogies, and reference exercises with model solutions.

πŸ—ΊοΈ Course Roadmap & Syllabus Map

This course covers 35 lectures divided into 7 interactive module guides:

graph TD
    A[Course Home & Learning Portal] --> B[Module 01: .NET Ecosystem & CLR Compilation]
    B --> C[Module 02: C# Syntax, Memory Stack/Heap & Exceptions]
    C --> D[Module 03: Object-Oriented C#, VTables & Interfaces]
    D --> E[Module 04: ASP.NET Core, Kestrel & Middleware Pipelines]
    E --> F[Module 05: Introduction to PWAs & HTTPS Security Contexts]
    F --> G[Module 06: Web App Manifests & Service Worker Caching]
    G --> H[Module 07: Responsive Web UI & CSS Layout Engines]
    
Curriculum Learning Flowchart across all C# & PWA modules

πŸ“š Curriculum Module Index

Select a module from the sidebar navigation to open its detailed textbook chapter:

ModuleTopic NameDescription
Module 01.NET EcosystemOverview of .NET 9 Ecosystem, Roslyn compiler, CLR compilation, and assembly deployment.
Module 02C# Language SyntaxStatically typed variables, Stack vs Heap memory allocation, ref/out/in, and exception call stacks.
Module 03Object-Oriented C#Inheritance hierarchies, dynamic polymorphism, VTable dispatch, and contract interfaces.
Module 04ASP.NET Core & KestrelWeb server fundamentals, reverse proxies, middleware pipelines, and REST API controllers.
Module 05Introduction to PWAsWeb vs Native vs Hybrid comparison, progressive enhancement, and HTTPS secure context rules.
Module 06Manifest & Service Workersmanifest.json metadata, Service Worker lifecycle events, and offline caching strategies.
Module 07Responsive Web UIViewport meta tags, CSS media queries, mobile-first design, and Flexbox vs Grid layout engines.

πŸ“– Beginners' Plain-English Vocabulary Cheat Sheet

Use the search box below to quickly filter key technical terms:

Tech Term Plain-English Definition Everyday Analogy
CLR (Common Language Runtime) The virtual execution engine that runs .NET applications and manages memory. An engine manager supervising factory workers 24/7.
JIT (Just-In-Time) Compiler Translates intermediate CIL bytecode into native CPU instructions at runtime. A simultaneous interpreter translating speech sentence-by-sentence.
Managed Code Code executed under CLR supervision with automatic memory safety. Cars driving inside a controlled test track with auto-braking.
Stack Memory Fast, automatic memory region for local variables and value types. A stack of sticky notes on a desk cleared immediately after work.
Heap Memory Large, dynamic memory region for objects managed by Garbage Collection. A warehouse storage room cleaned periodically by janitors.
Kestrel Server Lightweight, cross-platform embedded web server for ASP.NET Core. A high-speed fast-food drive-thru window taking orders instantly.
Middleware Pipeline components that intercept and process HTTP requests and responses. Airport security checkpoints that inspect tickets and luggage before boarding.
PWA (Progressive Web App) A web app enhanced with service workers to install and run offline like native apps. A web page that turns into a native smartphone app with one tap.
Service Worker A background script acting as a network proxy to intercept requests and handle offline cache. A personal butler checking the home pantry before ordering from the store.
Web App Manifest A JSON configuration file defining app icons, colors, and standalone display mode. A store sign and window display specifying business hours and logos.
CSS Grid & Flexbox Modern CSS layout engines for 1D rows/columns (Flexbox) and 2D grid areas (Grid). Modular shelving units that automatically resize items to fit rooms.