Skip to main content

Transfer Data via WCF Services

XPO allows you to easily transfer data over the wire in your distributed applications with WCF services using specially developed IDataStore, ICachedDataStore and ISerializableObjectLayer providers. You can choose one for the server application (based on your data store access method) and expose it with the WCF service. In most cases, all you have to do is derive your service from a corresponding XPO service class, modify service binding settings, and pass the service’s URL to your client application.

The following table summarizes the information on classes and interfaces available for use with WCF services.

Data Store Implementation

Service Class *

Client Class

Examples

IDataStore

DataStoreService

DataStoreClient

DataStoreClientAsync

ICachedDataStore

CachedDataStoreService

CachedDataStoreClient

CachedDataStoreClientAsync

ISerializableObjectLayer

SerializableObjectLayerService

SerializableObjectLayerProxyBase (auxiliary)

SerializableObjectLayerServiceClient

SerializableObjectLayerClient (auxiliary)

* Note that service classes are not supported in .NET Core 5+. You can connect client classes for these platforms to the service classes hosted in .NET Framework applications.