I decided to use Account Confirmation and Password Recovery with ASP.NET Identity. I am using Identity 2.1.0. I installed the sample MVC Application from NuGet into an empty project so I could take a look at how it is configured.
After incorporating changes into my project, there is one error I don't understand how to resolve:
'Microsoft.Owin.IOwinContext' does not contain a definition for
'GetUserManager' and no extension method 'GetUserManager' accepting a
first argument of type 'Microsoft.Owin.IOwinContext' could be found
(are you missing a using directive or an assembly
reference?) C:\Users\xxxxx\Source\Repos\xxxxxx\xxxxxx\xxxxxx\Controllers\AccountController.cs 48 69 xxx
public ApplicationUserManager UserManager
return _userManager ??
_userManager = value;
Assembly Microsoft.Owin.Host.SystemWeb.dll, v22.214.171.124
Right clicking on GetUserManager didn't display the usual
Resolve menu item, only
Refactor so the issue wasn't obvious, to me anyway... I was able to fix this problem by including a