Skip to content

CodingWithDavid/BlazorStateManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blazor State Management

This project was created to help me learn and remember the state management in a Blazor Application.

by David Gallivan

Why

State management is a key part of any SPA web application. YOu need to be able to pass state between pages. Simple things like user info, permissions, configurations all need to be maintain on the client side to avoid a lot of repetitive calls.

Getting Started

  1. Clone this repository

    git clone https://github.com/CodingWithDavid/BlazorStateManagement
    cd BlazorStateManagement
  2. Open in Visual Studio or Visual Code a. With Visual Code you will need to install the C# extensions

  3. Press F5

What's in the App

I am using the basic Server side Blazor template and adding state management to the "Counter" page. The sample also shows how to set up state management between components using an event handler

Problems or Suggestions

Open an issue here

Thank You

Resources

About

How to use simple state management in a Blazor application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published