Skip to content

application settings

Duncan Jones edited this page Dec 10, 2019 · 4 revisions

Application Settings

The following settings can be set in your application's app.config file or via environment variables through the Azure portal.

Connection strings

Each storage account used to store the event stream for the entities needs to have a connection string set in the application settings.

By convention these are named by the domain but you can choose whatever name you wish and the actual mapping between an entity and a storage account is performed by the Entity storage mapping as below

Entity storage mapping

Notification settings

RaiseEntityCreationNotification

If set to 'true' then when a new entity (event stream) is created then a notification will be sent via Event Grid

RaiseEventNotification

If set to 'true' then whenever a new event is appended to an existing event stream then a notification will be sent via Event Grid

EventGridHubName

This contains the name of the event grid hub to which notification messages will be sent.

EventGridTopicEndpoint

This is set to the URL of the endpoint of the above named b=hub to which notification messages are posted.

EventGridKeyValue

This is the access key used to authorise the application to post notification messages to the event hub.

EventGridPublishRetryCount

This is the number of times to retry sending an event grid notification if it fails.

EventGridPublishRetryInterval

This is the timespan to wait before retrying a failed notification. This is in the format hh:mm:ss (i.e. one minute retry interval would be '00:01:00')

Clone this wiki locally