Thomas

Results 6 comments of Thomas

I'd like to be able to write this : `println!("Value is {x}", x);` Instead of : `println!("Value is {x}", x=x);`

Since the backing variable is [ThreadStatic], it might be required for both requests to be served by the same webserver thread. This behaviour will depend on whether you are using...

Maybe... It may also be that the issue only appears on some web servers (such as IIS but not visual studio's integrated one).

`Thread.CurrentPrincipal` is the "official" method of authenticating a user in .NET. This article was a good read : http://www.lhotka.net/weblog/ASPNETThreadSwitching.aspx I feel like with this PR the code is OK, maybe...

The problem with using anything from HttpContext is that you may not have access to this class in the places where you want to check the current user (for various...