DataCacheFactoryConfiguration.UseLegacyProtocol Property

 

A value of true specifies that the legacy protocol should be used for connecting to the cache.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Syntax

public bool UseLegacyProtocol { get; set; }
public:
property bool UseLegacyProtocol {
    bool get();
    void set(bool value);
}
member UseLegacyProtocol : bool with get, set
Public Property UseLegacyProtocol As Boolean

Property Value

Type: System.Boolean

Returns Boolean.

Remarks

The legacy protocol was WCF-based. The new wire-level protocol offers improvements in performance and features. Windows Azure applications should use the new protocol by setting this property to false.

Applies only to Windows Azure Caching.

See Also

DataCacheFactoryConfiguration Class
Microsoft.ApplicationServer.Caching Namespace

Return to top