ASP.NET MVC 3 User Authentication

后端 未结 3 788
滥情空心
滥情空心 2021-01-30 12:11

What are some of the common methods to do simple user validation (account login)?

Also, can you have different authentication schemes per area?

Edit

3条回答
  •  梦谈多话
    2021-01-30 12:37

    please go to your model folder when you create a internet application with VS 2010. you will see a cs file there. that file holds a sample structure for User Authentication

    Remember that : ASP.NET MVC is not a separate framework. it sits on top of ASP.NET so you can use System.Web.Security.Membership class on MVC as well.

    Also, check your Account folder inside your view folder. you will some view samples there.

    hope this helps.

提交回复
热议问题