I've experience with WPF and WCF, with WCF I can set maxConnection to limit maximum connection per service. Now, I'm moving that application to Silverlight and WCF RIA 开发者_运维百科but I can't find that property so it can do only 4 connection parallely.
Anyone know how can I configure WCF RIA to accept more connection?
Have you tried using a service behavior like so:
<serviceBehaviors>
<behavior name="MyBehavior">
<serviceThrottling
maxConcurrentCalls="4"
maxConcurrentSessions="4” />
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</serviceBehaviors>
Setting the MaxConcurrentSessions
value may be the solution.
Hope this helps, indyfromoz
精彩评论