CSLA 6 prerelease 4 - exception thrown in DataPortal App-Server - asking here before raising a ticket #2729
-
Hi I upgraded to latest (pre-release) nuget packages and I get following exception at startup of the dataportal app server. The code is from the book CSLA-Blazor-200519 (Chapter 7, section Server-side Blazor with App Server) and has been working fine till prerelease 3. Since there have been quite a few changes in prerelease 4, clearly I am missing something. In the startup.cs of app-server, CSLA is added by "services.AddCsla();". Exception thrown:
This exception was originally thrown at this call stack:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Is this Blazor wasm? No, you say server-side Blazor. Hmm. I did some basic testing and in server-side Blazor it appears that an AuthenticationStateProvider serivce is registered in the environment. Oh, maybe I'm misreading. You are saying that the data portal endpoint - not the server-side Blazor app - is what's failing. So that's an MVC controller that is trying to use the Blazor context manager and failing I bet. I think this will be solved by #2724 |
Beta Was this translation helpful? Give feedback.
Is this Blazor wasm? No, you say server-side Blazor.
Hmm. I did some basic testing and in server-side Blazor it appears that an AuthenticationStateProvider serivce is registered in the environment.
Oh, maybe I'm misreading. You are saying that the data portal endpoint - not the server-side Blazor app - is what's failing. So that's an MVC controller that is trying to use the Blazor context manager and failing I bet.
I think this will be solved by #2724