Database

The Service Module requires a storage solution to save user data.

πŸ“‹ Supported Databases

πŸ› οΈ Configuration

The database is configured via the ConnectionStrings.json file.

Default configuration:

{
  "ConnectionStrings": {
    "AzureStorage": ""
  }
}

Ensure only one database provider is configured at a time.

πŸ”— For more details on how to configure connection strings, refer to the Configuration Basics > Connection String Fallbacks section.


🏒 Azure Storage (Azure Tables)

To use Azure Storage, you must first create an Azure Storage account. The Service Module specifically interacts with Azure Tables and will automatically create a table named users.

If a table with this name already exists, ensure there are no conflicts, or consider using a different storage account.

The Service Module only interacts with Azure Tablesβ€”it does not use other storage account features such as Blobs, Queues, or Files.

A typical Azure Storage connection string looks like this:

DefaultEndpointsProtocol=https;AccountName=your_account_name;AccountKey=your_account_key;TableEndpoint=https://your_account_name.table.core.windows.net/;