我有一个公开WCF服务的Winforms应用程序.
从IIS,我尝试使用该服务.我尝试在2台不同的计算机上调用test1.aspx,然后在Winforms应用程序中调用WCF.
test1.aspx => from computer 1 => First Call
test1.aspx => from computer 2 => Second Call
Run Code Online (Sandbox Code Playgroud)
我看到WCF是单线程的,在它开始处理CALL 2之前,它需要完成处理CALL 1.
[ServiceBehavior(IncludeExceptionDetailInFaults = true,
ConcurrencyMode=ConcurrencyMode.Multiple,
InstanceContextMode=InstanceContextMode.PerSession)]
Run Code Online (Sandbox Code Playgroud)
我有Windows Server 2008 R2和IIS 7.5
谁能帮我?