Csla.Blazor.Client.Authentication.CslaUserService no register service #2439
Unanswered
AsadCheema
asked this question in
Questions
Replies: 1 comment
-
The You must specify the user service yourself at app startup. Such as: However, and this is important, that You should also be aware that there's a bug in CSLA when dealing with server-side state. It will be fixed in CSLA 6, because the fix requires massive changes to CSLA to accommodate how server-side Blazor manages user identity. That's being tracked in #1068. |
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.
-
Hi All,
I am trying to create another Blazor App, and getting code sippets from ProjectTracker solution.
Creating as LogIn.razor component, with this inject statement,
@Inject Csla.Blazor.Client.Authentication.CslaUserService userService
when trying to open Login page, following error occurs i.e.
There is no registered service of type 'Csla.Blazor.Client.Authentication.CslaUserService'
I had checked these lines present in startup.cs,
services.AddCsla().WithBlazorServerSupport();
using Csla 5.4.1 and .Net 3.1
Regards.
A. Cheema
Beta Was this translation helpful? Give feedback.
All reactions