sql server - ASP.NET Membership on .NET 4.0 Multi-Tenant app. Default or Custom? -


this first attempt, trying integrate membership on existing shop in production.

i'm not quite sure, based on scenario, if should use build-in aspnet-providers or custom implementations of them in order integrate membership.

here's few details:

  1. i have multi-tenant, single database, single schema web app based on subdomain.
  2. the app in production , later want link newly registered users existing anonymous orders email.

  3. the development continue after membership integration, new features added, meaning new columns , linked tables users table.

this answer got thinking of using membership deafult profile in order extend users table created aspnet providers, since don't have users yet. though not clear me how link users orders , other tables/entities might later added when app going extended.

maybe define entities related users user-defined profile properties not have associations on database.

another overhead i'm thinking of how associate users different tenants of app. want users able regiter in different tenants/subdomains same email.

how implement membership in scenario?

this question aggregate of few questions. try answer them best of knowledge

  • in case of managing users, suggest consider following approach
  • pre-define list of basic user profile metadata need in application
  • create extensible approach having custom fields user profile can accommodate data may required capture in future
  • you should planning self-registration system in application allow user's register anonymuous ones use system email

regarding associating business entities, require associate entities tenant , not user. level of application tenant , flow down users.

additionally, should not have user accessible business entities, when maintained in form of package or so, easy manage , use.

share thoughts on these approaches. - create tenant identifier column [property] each profile identifies base tenant user belongs - create table manages list of other tenant's user may gaining access @ later part


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -