iis - Share data between web services -


i want create 2 web services, , b, hosted in iis. used updated variable x , b retrieve value of x.

the question whether can make work declaring x static class variable. if not, can ?

ps: combining them single service not option me.

the answer yes. 1 can use static variable since instances of web service executed in same app domain.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -