Skip to Main Content
Programming WCF Services
book

Programming WCF Services

by Juval Lowy
February 2007
Intermediate to advanced content levelIntermediate to advanced
634 pages
16h 1m
English
O'Reilly Media, Inc.
Content preview from Programming WCF Services

Instance Management

  1. Prefer the per-call instance mode.

  2. Avoid a sessionful service.

  3. If selecting SessionMode.Required on the contract, always explicitly set service instancing to InstanceContextMode.PerSession.

  4. If selecting SessionMode.NotAllowed on the contract, always configure the service instancing to InstanceContextMode.PerCall.

  5. Do not mix sessionful contracts and per-call contracts on the same service.

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

  7. Use ordered delivery with a sessionful service.

  8. Avoid instance deactivation with a sessionful service.

  9. Avoid demarcating operations.

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, 3rd Edition

Programming WCF Services, 3rd Edition

Juval Lowy
Mastering ASP.NET Web API

Mastering ASP.NET Web API

Mithun Pattankar, Malendra Hurbuns

Publisher Resources

ISBN: 0596526997Supplemental ContentErrata Page