Last post Sep 12, 2019 09:26 AM by PatriceSc
Sep 11, 2019 03:02 PM|aveve|LINK
Sep 11, 2019 04:55 PM|bruce (sqlwork.com)|LINK
only if this one selected customer shared for every user of the site. that is every site user is operating on the same customer.
Sep 12, 2019 03:21 AM|aveve|LINK
Sep 12, 2019 09:12 AM|Lewis Lu|LINK
I want to confirm with you, what is the effect you want to achieve, whether it is just data isolation between users, if this is the case, then you can use the Identity implementation, refer to the following link.
If you want to your user object can be achieved page-to-page delivery, you can put your user object in the session for delivery. Refer to the link below.
Sep 12, 2019 09:26 AM|PatriceSc|LINK
This is a single app used by multiple users (unlike a desktop app) so all users connected to the site see the same static value (by definition the app expose the same single variable to everyone).
I'm not 100% to get what you call a "customer" and then a "user". Do you mean you just want to know which authenticated user is running the current http request ?
It sound like you want to write a multi-tenant application ie https://aspnetboilerplate.com/Pages/Documents/Multi-Tenancy ?