How should I implement user membership in my ASP.NET MVC site?
问题 I'm creating an ASP.NET MVC site and I need to implement login and membership functionality. Is this something where I roll my own? I already have a members table in my database, should I create a username and password hash field and just check against it? What about keeping the user logged in with a cookie that expires? Is this an instance when you would use ASP.NET's built in Membership service? ASP.NET MVC neophyte seeks help. 回答1: When you create a new ASP.NET MVC site, it already has