Per Session and Per Call in WCF
WCF and WF
1
Posts
1
Posters
0
Views
1
Watching
-
I have done some examples on Per Session and Per Call as provided in these urls, Three ways to do WCF Instance Managaement, and PerCall Service. Both the examples are almost same. My issue is, I am not getting the output correctly as provided in those examples. When I want to use Per Session, I need to declare the variable as 'static'. When I want to use Per Call, I need to declare the variable without the keyword 'static'. Is this the expected behavior or am I something wrong? Single Instance is working with/out static. Please provide any suggestions.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.