BlazorComponentLifecycle

Built With

Getting Started

Prerequisites

Project Setup (VS Code)

  • C#
    • Create Blazor Server project
    dotnet new blazorserver -n Main
    • Create a razor component
    dotnet new razorcomponent -n ComponentName

Programming Topics practiced to get things done

Component Lifecycle (Blazor)

  • Lifecycle events
  • SetParametersAsync
  • OnInitialized{Async}
  • OnParametersSet{Async}
  • OnAfterRender{Async}
  • StateHasChanged
  • Handle Errors
  • Prerendering
  • Component Disposal