Class NCacheConfiguration
This class provides configuration options for NCache.
Inheritance
Assembly: Alachisoft.NCache.AspNetCore.SignalR.dll
Syntax
public sealed class NCacheConfiguration : object
Properties
ApplicationID
Contains information used to uniquely identify an application.
Declaration
public string ApplicationID { get; set; }
Property Value
Type | Description |
---|---|
System.String | Information used to uniquely identify an application. |
CacheName
Name of the cache in NCache which will store the respective item for the client to trace updates via itemVersion.
Declaration
public string CacheName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the cache in NCache which will store the respective item for the client. |
ConnectionOptions
This class contains the client connection properties e.g. client-request-timeout, connection-retries, retry-interval.
Declaration
public SignalRConnectionOptions ConnectionOptions { get; set; }
Property Value
Type | Description |
---|---|
Alachisoft.NCache.AspNetCore.SignalR.SignalRConnectionOptions | The client connection properties. |
EventKey
Unique, user specified key attribute for the item added to NCache on client registration.
Declaration
public string EventKey { get; set; }
Property Value
Type | Description |
---|---|
System.String | Event key of the item Added. |
Password
Specifies the password of authorized user required when security is enabled on Cache Server.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String | The password of authorized user. |
UserID
Specifies the username of authorized user required when security is enabled on Cache Server.
Declaration
public string UserID { get; set; }
Property Value
Type | Description |
---|---|
System.String | The username of the authorized user. |