S
Steve - DND
I'm currently creating an application with an n-tier design(not separate
boxes for each layer, just separation of pres/logic/data) that will have
both a web and windows interface. I'm trying to find out if there is a way
to maintain user information and access it in either my business logic or
data layer, without having to pass some custom object around that contains
the information.
For the web there's of course the Session, or preferably the
User(implementing IPrincipal), but I can't figure out what there is for a
WinForms app, or just something in general I can access in a class library
that isn't directly tied to either application.
If someone could give me some information on how I can access IPrincipal
information uniformly it would be most appreciated.
Thanks,
Steve
boxes for each layer, just separation of pres/logic/data) that will have
both a web and windows interface. I'm trying to find out if there is a way
to maintain user information and access it in either my business logic or
data layer, without having to pass some custom object around that contains
the information.
For the web there's of course the Session, or preferably the
User(implementing IPrincipal), but I can't figure out what there is for a
WinForms app, or just something in general I can access in a class library
that isn't directly tied to either application.
If someone could give me some information on how I can access IPrincipal
information uniformly it would be most appreciated.
Thanks,
Steve