Error in Blazor App When Upgrading from 5.4.1 to 5.4.2 or Higher #2600
-
I tried upgrading my business library and Blazor application from version 5.4.1 to 5.5.1 and got the the following error in both a Blazor Server and Blazor Webassembly version of the application: I got the error for each item in my NavMenu that is using a CSLA authorization rule for the policy :
Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not that I know of. There are a couple types that need to be registered with DI on startup to support CSLA claims - I wonder if they aren't being registered somehow? services.AddTransient<IAuthorizationPolicyProvider, CslaPermissionsPolicyProvider>();
services.AddTransient<IAuthorizationHandler, CslaPermissionsHandler>(); |
Beta Was this translation helpful? Give feedback.
Not that I know of. There are a couple types that need to be registered with DI on startup to support CSLA claims - I wonder if they aren't being registered somehow?