Comments (4)

  1. PatrickL says:

    Thanks for the link, but it dates from October 2013, so is about 6 months old.  I was hoping, in a blog post made 8 days ago, to find new information about MVC5, in particular about the changes that have been made in the ASP.net Identity code, e.g.

    code given by Pranav you give to access custom properties that have been added to the user's profile no longer works in websites created (e.g. MVC5) under Visual Studio 2013 Update 2 CTP:

    var manager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new ApplicationDbContext()));

    gives a compile error saying that ApplicationUser in new UserManager<ApplicationUser>: "this argument type is not within its bounds".  (This seems to be a change introduced in the move from version 2 to version 2.0.2 of Microsoft.Owin.Security?).

    Thanks

  2. Jason Singh says:

    Reached out to Rick@Microsoft, so should get a response very soon. I'm on the road. But he should post here. Thanks.

  3. ricka0 says:

    For the latest in ASP.NET Identity see curah.microsoft.com/55636

  4. PatrickL says:

    Many thanks for the link. One of the things I am looking for in particular is how I can set things up so that users can log into our MVC5 websites from a different provider than one of the standard ones included in the template.  E.g they might want to log in from one of our MVC5 websites (site A), into another (site B).  What extra code needs to be entered into site A (as the new provider), and site B (so that users can log in from site A)?.