Skip to content
Discussion options

You must be logged in to vote

Over time CSLA did change from defaulting to thread-local storage for current state to using AsyncLocal to store the state. This might be the source of your issue. At app startup you can switch the context manager to the older TLS implementation. This is done using the Csla.ApplicationContext.ContextManager property and setting it to an instance of Csla.Core.ApplicationContextManagerTls.

The other thing that we started changing in CSLA 5 is support for ClaimsPrincipal. Microsoft is phasing out our ability to use custom IPrincipal types, and it really looks like the only option going forward will be to use ClaimsPrincipal and ClaimsIdentity instances. I don't think any CSLA 5 changes to su…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wilfreds
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants