.NET Programming notes

10 chapter notes, in syllabus order. Each starts with the key points.

Unit 1

.NET Framework: Architecture, CLR, BCL, and ApplicationsUnit 1 of .NET Programming introduces the .NET Framework—its architecture, Common Language Runtime (CLR), Base Class Library (BCL), and real-world applications in Nepalese software (e.g., eSewa, Khalti). Learn how .NET enables cross-platform development, memory management, and integration with databases.7 min read

Unit 2

C Basics: Syntax, Data Types, Operators & Control FlowUnit 2 of .NET Programming covers C fundamentals—variable declarations, data types, operators, control structures (if-else, loops), and basic I/O—with syntax rules, memory behavior, and real-world applications in .NET apps.10 min read

Unit 3

OOP in C: Classes, Inheritance, Polymorphism & AbstractionUnit 3 of .NET Programming covers classes and objects, inheritance, polymorphism, encapsulation, abstraction, and interfaces in C with real-world examples, code traces, and exam-focused comparisons.10 min read

Unit 4

Exception Handling & Collections in C: Errors, Debugging & Data StructuresUnit 4 of .NET Programming covers how to handle runtime errors gracefully using try-catch-finally blocks, debug applications with stack traces, and work with built-in collections (Arrays, Lists, Dictionaries, Queues, Stacks) in C. Learn when to use each collection type, their time complexities, and real-world applicati14 min read

Unit 5

Windows Forms Apps: Controls, Events & UI DesignUnit 5 of .NET Programming covers designing interactive Windows desktop applications using C and Visual Studio, including form layout, event handling, common controls (buttons, textboxes, lists), and data binding—essential for building user-friendly software.11 min read

Unit 6

ADO.NET: Database Access in .NET with Connections, Commands, and Data AdaptersUnit 6 of .NET Programming covers ADO.NET fundamentals—how to connect to databases, execute queries, handle data with DataReaders and DataAdapters, and manage transactions—with real-world examples from Nepalese apps like eSewa and Ncell, plus step-by-step code traces.10 min read

Unit 7

LINQ in C: Queries, Lambda, and Data ProcessingUnit 7 of .NET Programming covers Language Integrated Query (LINQ), its syntax, methods, and real-world applications in C. Learn how LINQ simplifies data querying across collections, databases, and XML, with step-by-step examples, comparisons, and exam-focused insights.6 min read

Unit 8

ASP.NET Core: MVC, Razor Pages, Middleware & DeploymentUnit 8 of .NET Programming covers ASP.NET Core’s architecture, Model-View-Controller (MVC) pattern, Razor Pages, middleware pipeline, dependency injection, and deployment strategies (IIS, Docker, Azure). It explains how to build scalable web apps with routing, filters, and real-world hosting.10 min read

Unit 9

Web APIs: REST, JSON, HTTP, CRUD, and ASP.NET Core IntegrationUnit 9 of .NET Programming covers Web APIs—how to design, build, and consume RESTful APIs in ASP.NET Core, including HTTP methods, JSON serialization, routing, and integration with frontend apps or mobile services.14 min read

Unit 10

Deployment & Security in .NET: IIS, Containers, HTTPS, OWASP, and EncryptionUnit 10 of .NET Programming covers deploying ASP.NET Core apps (IIS, Docker, Azure), securing web apps (HTTPS, authentication, OWASP Top 10), and protecting data (encryption, hashing). Learn real-world configurations, security threats, and best practices with code examples and visual traces.14 min read