I'm trying to use the new Asp.Net Identity
system. I've searched this in asp.net site and able to find a tutorial here.
I've created Register
action and appropriate view for it. But Unable to code it further as I'm struck using User Manager
in Identity System.
To be precise, It's here.
var result = await UserManager.CreateAsync(user, register.Password);
The UserManager
class throws an exception
Using the generic type 'Microsoft.AspNet.Identity.UserManager<TUser,TKey>' requires 2 type arguments
My question is why did the author of the tutorial did not get any sort of exceptions ? Am I missing any dependencies ?
It seems like the documentation is not so perfect in asp.net site as well.
Any help would be appreciated.