- 1 Introduction to Blazor: Welcome to C# on the Web What is Blazor? The Motivation and PossibilitiesHosting Models Explained: Server vs. WebAssemblyThe .NET 8+ Unified Architecture: Blazor Web AppsUnderstanding the Blazor Component Model (Conceptually)
- 2 Environment Setup & Your First App Installing the .NET SDK and IDE SetupCreating Your First Blazor Project: 'Hello World'Anatomy of a Blazor App: Files, Folders, and Entry PointsRunning, Building, and Hot Reloading
- 3 Razor Syntax & Component Fundamentals Mixing HTML and C#: Mastering the Razor SyntaxCreating Your First Custom ComponentComponent Composition: Nesting ComponentsThe Component Lifecycle: Init, Render, and Dispose
- 4 Data Binding & Event Handling One-Way Data Binding: Displaying C# State in the UIEvent Handling: Responding to User Actions (@onclick)Two-Way Data Binding: Keeping UI and State in Sync (@bind)Event Arguments and Preventing Default Browser Actions
- 5 Component Communication and Parameters Component Parameters: Passing Data from Parent to ChildEventCallbacks: Sending Triggers from Child to ParentCascading Parameters: Passing Data Deep Down the TreeAttribute Splatting and Capturing Unmatched Parameters
- 6 Routing & Navigation The @page Directive: Turning Components into PagesRoute Parameters: Capturing Dynamic URL ValuesBuilding Menus with NavLink ComponentsProgrammatic Navigation using the NavigationManager
- 7 Layouts & UI Styling Creating and Applying Main LayoutsNested Layouts for Complex UI StructuresCSS Isolation: Scoping Styles to Specific Components safelyIntegrating External CSS Frameworks (Tailwind, Bootstrap)
- 8 Forms & Data Validation The EditForm Component: Blazor's Form EngineUsing Built-in Input Components (InputText, InputNumber)Data Annotations: Validating Models with C# AttributesHandling Valid, Invalid, and Raw Form Submissions
- 9 Dependency Injection (DI) & Services Understanding Inversion of Control in BlazorService Lifetimes: Singleton, Scoped, and TransientRegistering Services in Program.csInjecting Services into Components using @inject
- 10 Fetching Data & API Integration Setting up and Configuring HttpClientMaking GET Requests to External REST APIsPerforming CRUD Operations (POST, PUT, DELETE)Handling Loading States, Async Operations, and Errors
- 11 JavaScript Interoperability (JS Interop) The 'Why': When to use JavaScript in a C# AppCalling JavaScript Functions from .NET CodeCalling .NET Methods from JavaScriptIsolating JavaScript Modules per Component
- 12 Advanced Component Architecture RenderFragments: Building Reusable Templated ComponentsGeneric Typed Components (@typeparam)DynamicComponent: Rendering UI Elements at RuntimeOptimizing Renders with the ShouldRender Method
- 13 State Management Strategies Simple State Containers using Injected ServicesThe Observer Pattern: Notifying Components of State ChangesPreserving Component State During PrerenderingIntroduction to Flux/Redux Patterns in Blazor
- 14 Authentication & Authorization Understanding the AuthenticationStateProviderProtecting Routes and Pages with the [Authorize] AttributeConditional UI Rendering with the AuthorizeView ComponentIntegrating with JWT and External Identity Providers
- 15 Performance, Optimization, & Deployment Lazy Loading Assemblies in WebAssemblyAhead-of-Time (AOT) Compilation for WebAssembly SpeedPublishing and Hosting Blazor Server AppsDeploying Blazor WebAssembly to Static Hosts