I'm using the Asp.Net Identity framework, and I have a User class which looks like this:
public class User : IUser
{
public string Id {get; private set;}
public string Email {get; set;}
string IUser.UserName { get { return Email;} set { Email = value;}}
}
I've just upgraded to version 2 of Asp.Net Identity Framework, and I've started getting the compilation error "'IUser.UserName' in explicit interface declaration is not a member of interface". Everything was fine before.
What is happening?