Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# User Authentication with ASP.NET Identity Adding User Registration Updating Our DI Configuration

Completely lost

In trying to set up the AccountController, the instructions say, "For this type, we'll pass an anonymous method to the Register generic method that'll retrieve the IAuthenticationManager instance from the current OWIN context. " Is there sample code? I have no idea why or how this should be done. Would it be in my best interest to take the "Dependency Injection in ASP.Net" course before proceeding? (If so, it would have been nice to know at the beginning...) I also have the red squiggles of death under the GetOwinContext() method in InitializeContainer. I know it resides in System.Web, so I checked my using statements and project references and it is there. Any idea why VS 2017 would still be mad at it?

Figured out the first part of the question about the anonymous method...