rustd / AspnetIdentitySample

476 stars 248 forks source link

Missing MyUser class #25

Closed jsupriyanto closed 10 years ago

jsupriyanto commented 10 years ago

CS0234: The type or namespace name 'MyUser' does not exist in the namespace 'AspnetIdentitySample.Models' (are you missing an assembly reference?)public class _Page_Views_UsersAdmin_Index_cshtml : System.Web.Mvc.WebViewPage<IEnumerable> {

piresio commented 10 years ago

jsupriyanto as workaround I realized the call the following class "Microsoft.AspNet.Identity.EntityFramework.IdentityUser" in place of the current "AspnetIdentitySample.Models.MyUser".

ctolkien commented 10 years ago

I think the idea is that you inherit from IdentityUser with your own User class.

rustd commented 10 years ago

Thank you for submitting the pull requests jsupriyanto. I have merged them into the sample