Click here to Skip to main content
15,918,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

Can some one please help me how to set the InstanceContextMode for a wcf router service

Thanks in Advance
Posted

1 solution

I would guess you'd want InstanceContextMode.Single and ConcurrencyMode = concurrencyMode.Multiple...

[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
public class MyRouterService : IMyRouterService 
{
...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900