Skip to Content
Programming WCF Services, 2nd Edition
book

Programming WCF Services, 2nd Edition

by Juval Lowy
November 2008
Intermediate to advanced
784 pages
23h 28m
English
O'Reilly Media, Inc.
Content preview from Programming WCF Services, 2nd Edition

Instance Management

  1. Prefer the per-call instance mode when scalability is a concern.

  2. If setting SessionMode.NotAllowed on the contract, always configure the service instancing mode as InstanceContextMode.PerCall.

  3. Do not mix sessionful contracts and sessionless contracts in the same service.

  4. Avoid a singleton unless you have a natural singleton.

  5. Use ordered delivery with a sessionful service.

  6. Avoid instance deactivation with a sessionful service.

  7. Avoid demarcating operations.

  8. With durable services, always designate a completing operation.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming WCF Services

Programming WCF Services

Juval Lowy

Publisher Resources

ISBN: 9780596157210Supplemental ContentErrata