Replies: 4 comments 5 replies
-
Yes, I'm still trying to resolve that issue - learning more details about authentication/authorization in Blazor 8. |
Beta Was this translation helpful? Give feedback.
-
I finally have some time to get back to learning CSLA. When I open the latest Blazor sample project the version is 8.0.0-R24010204, but this version is not listed on Nuget. the latest version is 8.0.0-R24010305, but if I use this version there are a couple of compile issues. Any recommendations on how to proceed? |
Beta Was this translation helpful? Give feedback.
-
@ctwoodwa I was able to update to the R24010305 release and have the app work (with the exception of the wasm page as noted above). There were some compile warnings, but they went away on a subsequent rebuild, so I think it was due to old stuff in the obj folders. |
Beta Was this translation helpful? Give feedback.
-
I just merged a PR that updates the BlazorExample, so I think it is working now in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
when trying to explore the new .net8 BlazorExample I get the following error when trying to add a person:
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Authorization requires a cascading parameter of type Task. Consider using CascadingAuthenticationState to supply this.
System.InvalidOperationException: Authorization requires a cascading parameter of type Task. Consider using CascadingAuthenticationState to supply this.
at Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore.OnParametersSetAsync()
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
regards
Beta Was this translation helpful? Give feedback.
All reactions