T
tiago.private
Hi Everybody,
I have a few questions related to asp.net profile (behaviour):
1) as an example during the asp.net cycle, accessing (READ) the
profile data, in 3 different places: httpmodule, page, control/
usercontrol, the profile data is "cached" or each item is going to the
database ?
1.1) If is cached where is cached (i.e Context.Items, Session ) ?
1.2) caching is per property or as whole (user profile)
2) imagining that are several requests with the same user session, is
the profile still going to the database, there is no (internal
caching) like a singleton or even using user session ?
The questions behind are the performance/cost of using asp.net
Profile with several properties (most of them readonly) or at least
changed once in a while.
If the asp.net Profile "logic" is to fetch each property/per request
from the database, that will hurt my application performance and
question is the asp.net profile useful in critical applications or is
a nice toy ?
Are other alternatives to improve ? like for instance creating a
custom asp.net Profile and caching in a Session or in a Singleton ?
did some crossed these issues ?
Feedback will be appreciated!
Regards,
Tiago
I have a few questions related to asp.net profile (behaviour):
1) as an example during the asp.net cycle, accessing (READ) the
profile data, in 3 different places: httpmodule, page, control/
usercontrol, the profile data is "cached" or each item is going to the
database ?
1.1) If is cached where is cached (i.e Context.Items, Session ) ?
1.2) caching is per property or as whole (user profile)
2) imagining that are several requests with the same user session, is
the profile still going to the database, there is no (internal
caching) like a singleton or even using user session ?
The questions behind are the performance/cost of using asp.net
Profile with several properties (most of them readonly) or at least
changed once in a while.
If the asp.net Profile "logic" is to fetch each property/per request
from the database, that will hurt my application performance and
question is the asp.net profile useful in critical applications or is
a nice toy ?
Are other alternatives to improve ? like for instance creating a
custom asp.net Profile and caching in a Session or in a Singleton ?
did some crossed these issues ?
Feedback will be appreciated!
Regards,
Tiago