Поделиться через


Ramp Up on ASP.NET MVC 5 Quickly.

A great walkthrough on ASP.NET MVC5.

https://www.asp.net/mvc/tutorials/mvc-5/introduction/getting-started

Comments

  • Anonymous
    March 11, 2014
    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

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

  • Anonymous
    March 13, 2014
    For the latest in ASP.NET Identity see curah.microsoft.com/55636

  • Anonymous
    March 13, 2014
    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)?.