Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

ASP.NET, SaveAsync() and HttpContext possible bug?

$
0
0

I raised a previous post about SaveAsync() not working. I boiled this down to a configuration setting..."CslaAutoCloneOnUpdate" if this is false then SaveAsync doesn't work. I have test cases to validate. I know this is a legacy setting but there are aspects of our code that require this until they can be fixed.

Secondly if calling SaveAsync() in an asp.net Web API controller in my test case. After the call HttpContext is null. Before the call it's fine. This pretty much breaks everything as the user has no identity.

I've had issues with threading before with CSLA background workers but never where HttpContext becomes null?


Viewing all articles
Browse latest Browse all 764

Trending Articles