How to add ASP.NET Membership Provider in a Empty MVC 4 Project Template?

后端 未结 4 809
逝去的感伤
逝去的感伤 2020-12-01 02:36

I am new in ASP.NET MVC4. I am creating a Empty MVC4 Project Template and trying to add ASP.NET Membership Provider into it but i am not understanding how can I do it. I am

4条回答
  •  一向
    一向 (楼主)
    2020-12-01 02:48

    If you want to use Universal Providers as opposed to Simple Membership that's included in MVC 4 Internet template, you can create a new MVC 4 project using Mobile template and copy Account controller + views and also update web.config with correct connectionString and Forms Auth section and you should be good to go.

提交回复
热议问题