Class UnityHttpBackendDefinition
Connection configuration for a remote HTTP structured-store service, shareable by every structured-store consumer.
Implements
Namespace: Serenity.StructuredPersistence.Infrastructure.Settings
Assembly: Serenity.UnityStructuredPersistence.Infrastructure.dll
Syntax
public class UnityHttpBackendDefinition : UnityStructuredBackendDefinition, IFoundationSettings
Constructors
UnityHttpBackendDefinition()
Declaration
public UnityHttpBackendDefinition()
Fields
ApiKey
Declaration
public string ApiKey
Field Value
| Type | Description |
|---|---|
| string | API key for the remote HTTP structured-store service. |
Remarks
A value entered here is serialized into the asset and shipped inside the build — never store a production secret here. Prefer EnvironmentVariableOverridePrefix so the real key is injected from the environment at runtime instead.
BaseUrl
Declaration
public string BaseUrl
Field Value
| Type | Description |
|---|---|
| string | Base URL of the remote HTTP structured-store service. |
EnvironmentVariableOverridePrefix
Declaration
public string EnvironmentVariableOverridePrefix
Field Value
| Type | Description |
|---|---|
| string | Prefix used to look up credential overrides (BaseUrl, ApiKey) from environment variables at runtime instead of the serialized asset values. Empty means no override. |
TimeoutSeconds
Declaration
public int TimeoutSeconds
Field Value
| Type | Description |
|---|---|
| int | Network timeout, in seconds, applied to remote calls. |