Skip to content
Brendan Hulme edited this page May 31, 2020 · 7 revisions

Ignitor is a project to establish an opinionated framework for developing a Blazor WebAssembly project.

Blazor sets out a number of concepts and ways of dealing with UI Components, one and two way binding and even hints at State Notification but is reasonable quiet on how the application should hang together as a whole.

This is where Ignitor comes in. It's an architectural approach and a library of interrelated tools to achieve that architecture.

Features

  • Contextual and Scoped Immutable State management
  • Data isolation when working with data or view models (changes you make to the data won't affect the State)
  • Contextual State Change notification
  • Action dispatching framework

Getting Started

Install Ignitor into your Blazor project using NuGet:

Install-Package Ignitor

Once installed, add Ignitor to your service registerations in the Program.cs file:

services.AddIgnitor();

You can now inject state into anywhere you need it in your application.

Next Steps

Visit the Architecture section, and learn about the structure of an Ignitor application. This also outlines the rules around Data models for use in Application State.

Visit the State Management section for information on Global, Contextual and Scoped state.

Clone this wiki locally