Automatically get ASP.NET Identity user with an assist from Ninject

How many times have you found yourself doing this: [Authorize] public async Task<ActionResult> Foo() { var user = await UserManager.FindByIdAsync(User.Identity.GetUserId()); if (user == null) { AuthenticationManager.SignOut »

Async != Faster

One of the most pervasive misunderstandings surrounding async is that it makes things go faster. This is categorically false. If anything, async will actually make things slower. Why? Well, there's »