Last post Jan 03, 2013 01:28 AM by Haixia Xie - MSFT
Jan 01, 2013 02:11 PM|mou_inn|LINK
i am very new in WCF. so often gaze for wcf code & article. after viewing many code i often stuck for very basic things and got no elaborate discussion for the below question. so here are my few basic question....and looking for details discussion with sample
situation and with sample code.
if we do not write anything like SessionMode=SessionMode.Required
then what will be default nature of WCF service. there will be no session
just briefly tell me what is the meaning of SessionMode.Required,SessionMode.Allowed and what is the difference between SessionMode.Required,SessionMode.Allowed?
what is the default session mode?
i have seen people develop wcf service but did not specify anything like session. so just tell me when one should turn on SessionMode.Required or SessionMode.Allowed ?
what is InstanceContextMode?
many people use InstanceContextMode Single or PerCall or PerSession ?
i just need deep insight when i should go for InstanceContextMode Single or or PerCall or PerSession ?
tell me briefly when i woul turn on Single what will happen or what will happen in case of PerCall or PerSession ? what is difference between Single or PerCall or PerSession
what is default InstanceContextMode ?
what is ConcurrencyMode ??
actually what ConcurrencyMode does.....what it determines??
there are few ConcurrencyMode available and those
are Multiple,Reentrant and Single
which concurrent mode one should use in what kind of situation.
what will be the best choice
what is the meaning of UseSynchronizationContext=false
when one should turn on UseSynchronizationContext=true
or when one should go for UseSynchronizationContext=false ?
bool Add_Contact(int sessionkey, string Newusrname);
what is the meaning of IsInitiating=false or true. when i should set it true or false ? what is the meaning of IsOneWay=false or true. when i should set it true or false ?
i belief my question are very basic and lots of scholar every time monitoring this forum. i hope i will get the best answer in details with many situation like when one should choose which option over other option with few sample code for simulating situations.
Jan 03, 2013 01:28 AM|Haixia Xie - MSFT|LINK
Thanks for your post.
Find a duplicated thread
here, if the issue cannot be solved, please give a feedback.