The sqlServerConnector configuration section defines the connection string for the Loupe Server to use to connect to the Loupe Repository. The following options can be specified:
Option | Description | Default Value | Required |
---|---|---|---|
connectionString | The full connection string for SQL Server | "" | true |
The Server.Config file is an XML formatted file with a section for email.
Server.Config |
Copy Code
|
---|---|
<?xml version="1.0" encoding="utf-8"?> <gibraltar> <sqlServerConnector connectionString="(A full connection string to SQL Server)" /> </gibraltar> |
To set the configuration through environment variables (like for hosting in an Azure App Service), the configuration items use the format:
Loupe__Server__Database__{Option}
For example, to set the connection string to the server and database, use Loupe__Server__Database__ConnectionString