H
HmFireBall
Hi,
This is a question about a shared property in ASP.NET
Imagine there's an assembly called my.dll that is in the /bin directory
of several websites.
This assembly contains a class with a shared property called
MySharedProp. Its value is initialized inside the shared constructor of
the class and should be based on values declared in the web.config of
each site. So the value of MySharedProp should be different from a site
to another.
My question is does it work? I mean : is MySharedProp shared by all the
objects of a site but different from a site to another (it's what I
assume) or even shared by all the sites that have the my.dll in their
/bin directory?
Sorry for my bad English and thank you if you can help me.
Henri
This is a question about a shared property in ASP.NET
Imagine there's an assembly called my.dll that is in the /bin directory
of several websites.
This assembly contains a class with a shared property called
MySharedProp. Its value is initialized inside the shared constructor of
the class and should be based on values declared in the web.config of
each site. So the value of MySharedProp should be different from a site
to another.
My question is does it work? I mean : is MySharedProp shared by all the
objects of a site but different from a site to another (it's what I
assume) or even shared by all the sites that have the my.dll in their
/bin directory?
Sorry for my bad English and thank you if you can help me.
Henri