W
Weston Weems
I've got the need to have user information for logged in user in a
readily avaliable page context (a lot like how Profile is) except not suck.
Before we jump to any conclusions, from what I gathered, the
implementation of the provider model is absolute garbage. While I've
seen microsoft employees make other questionable design decisions, I
cant possibly fathom why a user profile cant be derived as some other
object.
Perfect Example --
CustomProfile : ProfileBase
Custom profile having the ability to maintain its own collections,
contain methods etc.
Then simply writing the provider (which in my opinion should have a
reference to a user key of some sort, and context to pass the profile
object back.
Of course this would have made TOO much sense. Instead we have this
intermediate step of converting everything to essentially a giant key
based multidimensional array... (GetPropertyValues,SetPropertyValues)
So my question/goal is hopefully to have somone prove me wrong. All I
really want is..
A) when inherting profilebase objects in web.config, for the
setPropertyValues and GetPropertyValues to be called on profile modification
B) Override the Profile property alltogether, since it appears to be
completely and utterly fubar'ed
C) Hopefully not require a bazillion lines of code and user setup to use
my "provider".
readily avaliable page context (a lot like how Profile is) except not suck.
Before we jump to any conclusions, from what I gathered, the
implementation of the provider model is absolute garbage. While I've
seen microsoft employees make other questionable design decisions, I
cant possibly fathom why a user profile cant be derived as some other
object.
Perfect Example --
CustomProfile : ProfileBase
Custom profile having the ability to maintain its own collections,
contain methods etc.
Then simply writing the provider (which in my opinion should have a
reference to a user key of some sort, and context to pass the profile
object back.
Of course this would have made TOO much sense. Instead we have this
intermediate step of converting everything to essentially a giant key
based multidimensional array... (GetPropertyValues,SetPropertyValues)
So my question/goal is hopefully to have somone prove me wrong. All I
really want is..
A) when inherting profilebase objects in web.config, for the
setPropertyValues and GetPropertyValues to be called on profile modification
B) Override the Profile property alltogether, since it appears to be
completely and utterly fubar'ed
C) Hopefully not require a bazillion lines of code and user setup to use
my "provider".