Why InitializeSimpleMembershipAttribute in MVC 4 app

后端 未结 7 1838
误落风尘
误落风尘 2020-12-29 05:07

I think my understanding on SimpleMembershipProvider is almost 60% and the rest is getting to know how it internally work.

You can quickly found some is

7条回答
  •  时光说笑
    2020-12-29 05:56

    I believe the template used an attribute for database initialization so that the non-authenticated portions of the site would still work if the initialization failed.

    For most practical purposes, it's best to just have this done in the App_Start.

提交回复
热议问题