WCF - Synchronization
By exposing a service so that it is consumed, we must look to the possibility of this service being accessed simultaneously. This occurs when multiple requests ( threads ) try to access the same resource at the same time.The possibility of simultaneous accesses may occur depending on the instance management chosen for the service. The purpose of this paper is to show the three options provided by the WCF to treat competition and moreover, showing some of the various synchronization techniques provided by NET Framework and may be used in conjunction with WCF. Importantly, the modes competition discussed here do not guarantee the security of access to some shared resource. It is the responsibility of the developer who is developing the service and, therefore, as discussed above, we make use of existing classes within the NET Framework that allow synchronization and protection of such resources in an environment multi-threading ....