Namespace Htmx.Components.State
Classes
- PageState
Implements page state management with encrypted storage capabilities. The state is organized into partitions containing key-value pairs, with automatic versioning for change tracking. All data is serialized as JSON and encrypted using ASP.NET Core Data Protection.
- PageStateConstants
Contains constant string keys used for page state management throughout the Htmx Components framework. These constants ensure consistent naming and provide centralized management of state keys.
- PageStateConstants.FormStateKeys
Contains constant keys used for form-related page state management. These keys are used to store and retrieve form editing state information.
- PageStateConstants.TableStateKeys
Contains constant keys used for table-related page state management. These keys are used to store and retrieve table display and interaction state.
- PageStateMiddleware
ASP.NET Core middleware that manages page state across HTTP requests. This middleware automatically loads encrypted page state from request headers, makes it available throughout the request pipeline, and manages state persistence.
Interfaces
- IPageState
Provides a contract for managing page state with encrypted storage capabilities. The page state is organized into partitions and key-value pairs, allowing for structured data management.