Prefer the per-call instance mode when scalability is a concern.
If setting SessionMode.NotAllowed
on the contract,
always configure the service instancing mode as InstanceContextMode.PerCall
.
Do not mix sessionful contracts and sessionless contracts in the same service.
Avoid a singleton unless you have a natural singleton.
Use ordered delivery with a sessionful service.
Avoid instance deactivation with a sessionful service.
Avoid demarcating operations.
With durable services, always designate a completing operation.
18.222.196.175