Blazor App share state with CSLA Edit object #2169
Unanswered
adrianwright109
asked this question in
Questions
Replies: 1 comment
-
The We used to also have Be aware that there's a known bug with Blazor wasm and |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a Blazor Web Assembly application which is hosted in an ASP.NET Core Server - this is based on the CSLA BlazorExample project.
I want to be able to share state (gloval values) between the Blazor Web Assembly
Client
and the CSLA objects in theShared
project.For example I have a
ClientEdit
object in theShared
project which has aBusinessRule
calledHasFeatureOption
that checks to see that the authenticated user has access to the particular application area (feature option).For the check to take place it needs the
[ClientId]
and[ClientEnvionment]
for the authenticated user in their current browser session.These values are not apart of the
ClientEdit
model and are additional info that I need to have access to.Is it possible to share user application state between the Blazor
Client
and the CSLA objects - if so how best to achieve this?Beta Was this translation helpful? Give feedback.
All reactions