I don't like asp.net profile provider store all profile info in one or two row in the database, but I want to use membership/profile API for authentication purpose.
Customize membership/role/profile provider requires big big upfront efforts, which may cause more mess later.
开发者_StackOverflowSo how do people deal with that normally?
You don't have to use asp.net profiles to store additional information if you don't want to. Instead you can store it in a separate table and link it to aspnet_Users table like shown here: Storing additional information
You can use the built-in SqlMembershipProvider, which is installed by running
aspnet_regsql.exe
.You do not have to use profiles if you don't like them.
Customizing membership/role/profile providers is really not that big of a deal.
精彩评论