How can I access a variable in WCF in a static nature where the instance is not shared across calls? -


i have value want able access within wcf service in static nature, not have pass instance of object throughout different methods, not want each call service share instance, have value available within single call. if use "static" variable store value, ends being shared across multiple calls service, not behavior after. same thing happened when stored value in appdomain. service defined percall , hosted in iis, if makes difference solution. thank you.

i got answer on over forum.

http://social.msdn.microsoft.com/forums/en-us/aa27f0a3-2b9f-44cb-bd5c-9020c8502883/how-can-i-access-a-variable-in-wcf-in-a-static-nature-where-the-instance-is-not-shared-across-calls?forum=wcf


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -