Version

WcfListConnectorService Class

Base class for WCF services used for providing schedule data to a client over WCF services.
Syntax
'Declaration
 
Public MustInherit Class WcfListConnectorService 
   Implements IWcfListConnectorService 
public abstract class WcfListConnectorService : IWcfListConnectorService  
Remarks

There are two classes derived from this base class which cover most scenarios. WcfListConnectorServiceSingle is a single instance, single threaded WCF service. This service is ideal when a relatively small number of clients will be connecting to the service. The data sources can be initialized once when the service is first used, which gives a performance boost on subsequent remote calls. However, because all calls are processed on the same thread, having too many clients could cause a bottleneck, especially if one of the clients requires a large amount of data from the service. When many clients will be connecting to the service, the WcfListConnectorServiceMulti is a better choice. Each remote call is processed on a different thread and with a different service instance. Because of this, the data sources must be thread safe, such as a SQL database. Also, because a new service instance is needed for each call, some work must be done internally to hook up to the data sources for each remote call. This will cause a slight performance hit for each call over the WcfListConnectorServiceSingle.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also