阅读背景:

使用ASP.NET Session进行终身管理(Unity)

来源:互联网 

I am considering using Unity to manage the lifetime of a custom user class instance. I am planning on extending the LifetimeManager with a custom ASP.NET session manager. What I want to be able to do is store and retrieve the currently logged in user object from my custom classes, and have Unity get the instance of User from the session object in ASP.NET, or (when in a Win32 project) retrieve it statically or from the current thread.I am considering using Unity to manage the life




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: