WCF - IMP concepts
Following concepts are vital for WCF implementation:
1.
End Point
2.
Bindings and Behavior
3.
Contracts and Service host
4.
WCF Client and Metadata
5.
WCF Hosting
- IIS*
- WAS
- Self hosting*
- Windows Service
6.
Instance Management - [ServiceBehavior(InstanceContextMode=InstanceContextMode.Single)]
- Per-Call instance mode
- Per-Session instance mode
- Singleton Instance Mode
7.
Instance Deactivation – (For sessionful service instance)
- [OperationBehavior(ReleaseInstanceMode=ReleaseInstanceMode.BeforeCall]
- RealeaseInstanceMode.None
- RealeaseInstanceMode.BeforeCall
- RealeaseInstanceMode.AfterCall
- RealeaseInstanceMode.BeforeAndAfterCall
8.
Durable Service
- CanCreateInstance = true
- CompletesInstance = true
9.
Throttling
- maxConcurrentCalls
- maxConcurrentInstances
- maxConcurrentSessions
10.
Operations
- Request- Replay (default)
- One-Way
- Callback - WSDuplexBinding, TCP, IPC
11.
Simplified configuration
12.
Discovery service
13.
Routing service
14.
REST Service
Comments