Please explain briefly different Instance Modes in WCF?
WCF will bind an incoming message request to a particular service instance, so the available modes are:
- Per Call: instance created for each call, most efficient in term of memory but need to maintain session.
- Per Session: Instance created for a complete session of a user. Session is maintained.
- Single: Only one instance created for all clients/users and shared among all.Least efficient in terms of memory.
Comments
Post a Comment