itnifl
asked on
C# MVC and a global static factory that never dies
I am making a static factory class in my C# MVC project. I want it to be global for the user session, and I want it's private static properties to live as long as the session lives. The private properties contain cached factory products that I want to re-use if needed.
Alternatively, the static factory class can be global for the whole system regardless of user sessions. The products are classes with grouped access methods to the database, so users sharing these on the server side should be no problem.
Alternatively, the static factory class can be global for the whole system regardless of user sessions. The products are classes with grouped access methods to the database, so users sharing these on the server side should be no problem.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes it will.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER