In my code I check to see if a file exists and store it in the Application object in asp.net.
Later on I access this boolean to do something in my web service.
Now I want to rewrite my web service in wcf and things are different here. The application object does not exist.
What is the best way to do this task:
On web site application startup record a boolean.
Pass it to my wcf so it knows about it when it calls a function (without the boolean being part of the method parameters)
The last post here offers an option for sharing state between calls: