How to Authenticate using MVC5RC/RTW with existing database

前端 未结 3 783
误落风尘
误落风尘 2021-01-19 02:36

I originally asked this question when Identity was in beta. The classes and interfaces have changed considerably since then and it appears the RTW version has some modificat

3条回答
  •  半阙折子戏
    2021-01-19 02:57

    I'm starting to think (partially due to the lack of information in this area), that it may be easier to user the default identity classes, but to provide referential integrity to my own user table from the AspNetUsers table.

    If i add a custom linking field into the AspNetUsers table is it possible to access my tables from the Controllers.User property? i.e. Controller.User.tblMember.Orders?

提交回复
热议问题