Introduction
This article illustrates working with Duplex mode in WCF with concurrency set to Reentrant. In general, Duplex is one of the three message exchange patterns (MEPs) which are:
- One-way
- Request-Response (synchronous and asynchronous)
- Duplex
On the other hand, concurrency in WCF services deals with how many concurrent threads can access these services at one time.
A full discussion of MEPs and Concurrency in WCF is not the intent of this article; as a matter of fact, that would be the job of a full book. As such, this article assumes familiarity (but necessarily experience) of the following:
- WCF programming
- MEPs in WCF
- Concurrency modes in WCF
- Basic concepts of threads