Eventreceiver and Application-Domains - Sharepoint
This is a discussion on Eventreceiver and Application-Domains - Sharepoint ; Hi,
what is the relationship between IIS-Applicationpools and .NET
application-domains. Is there allways one appdomain per application pool?
For all i'm interested if all code of Eventreceiver acting on the content
behind one Applicattion are allways running in one appdomain.
...
-
Eventreceiver and Application-Domains
Hi,
what is the relationship between IIS-Applicationpools and .NET
application-domains. Is there allways one appdomain per application pool?
For all i'm interested if all code of Eventreceiver acting on the content
behind one Applicattion are allways running in one appdomain.
Can static fields be used for shared data?
Christof
-
Re: Eventreceiver and Application-Domains
There is always one app domain for any process. However, you can create
a app domain programmatically and load assemblies into it, but I don't
think that is done.
Static fields can be used to common data, but be careful about using a
synclock to update it or you will create a race condition making errors
extremely difficult to debug.
--
Bryan Phillips
MCT, MCSD, MCDBA, MCSE
Microsoft MVP - Client Application Development
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net
"Christof Nordiek" <cn@nospam.de> wrote in message
news:OMU$nhuIIHA.284@TK2MSFTNGP02.phx.gbl:
> Hi,
>
> what is the relationship between IIS-Applicationpools and .NET
> application-domains. Is there allways one appdomain per application pool?
> For all i'm interested if all code of Eventreceiver acting on the content
> behind one Applicattion are allways running in one appdomain.
>
> Can static fields be used for shared data?
>
> Christof
Similar Threads
-
By Application Development in forum labview
Replies: 0
Last Post: 11-09-2007, 01:10 PM
-
By Application Development in forum labview
Replies: 3
Last Post: 08-07-2007, 11:10 AM
-
By Application Development in forum DOTNET
Replies: 0
Last Post: 05-05-2006, 01:48 PM
-
By Application Development in forum DOTNET
Replies: 1
Last Post: 05-18-2004, 06:26 PM
-
By Application Development in forum DOTNET
Replies: 3
Last Post: 01-05-2004, 07:50 PM