Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sharing of Tables object
Message
From
07/01/2011 15:52:16
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01495118
Message ID:
01495199
Views:
31
>Sticking my neck out without checking:
>
>Shared (Static) classes are scoped to the AppDomain.
>Each Application pool has its own worker process but a worker process can host multiple AppDomains.
>Therefore static properties of an AppDomain are not neccessarily shared within the worker process used by the application pool...
>
>I'm actually not sure about the first statement. I think that, strictly speaking, shared classes are scoped to their assembly and it *may* be possible to use the same assembly twice within the AppDomain.
>
>Hmm... sorry, all I've managed to do here is confuse myself as well :-}

My test have shown that this shared object is scope to the worker process. But, all additional worker process, if more than one is defined in the application pool, cannot benefit from it. So, I had to reorg some stuff in my framework to refresh the other worker process when I change the data dictionary from one worker process.

Thanks for the information
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform